in my config file i have this
$INFO['sql_driver'] = 'mySQL';
Can someone help to place this code mysql_query( "SET NAMES utf8", $this->connection_id ); into this function, maybe i am doing something wrong on placing it into the function
else
{
if ( IPS_MAIN_DB_CLASS_LEGACY )
{
$this->connection_id = @mysql_connect( $this->obj['sql_host'] ,
$this->obj['sql_user'] ,
$this->obj['sql_pass']
);
}
else
{
$this->connection_id = @mysql_connect( $this->obj['sql_host'] ,
$this->obj['sql_user'] ,
$this->obj['sql_pass'] ,
$this->obj['force_new_connection']
);
}
}
I will move this to pear section... :) thanks