codeiniter db connection

#1
[eluser]hamzakhan[/eluser]
i need to add these line of code before mysql connection in codeigniter
mysql_query("SET character_set_results=utf8", $dbLink);
mb_language('uni');
mb_internal_encoding('UTF-8');
please tell me where should i go to add these line of code
thanks if any help

#2
[eluser]Eric Barnes[/eluser]
Probably your database driver file. system/database/drivers/mysql/mysql_driver.php


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.