[eluser]codeman[/eluser]
Hi guys,
an i doing right to access the database ?
Code:
$this->load->database();
echo "MYSQL is connected";
Code:
$active_group = "default";
$active_record = TRUE;
$db['default']['hostname'] = "hostmonster.com";
$db['default']['username'] = "blah";
$db['default']['password'] = "blah";
$db['default']['database'] = "blahaaa";
$db['default']['dbdriver'] = "mysql";
$db['default']['dbprefix'] = "";
$db['default']['pconnect'] = TRUE;
$db['default']['db_debug'] = TRUE;
$db['default']['cache_on'] = FALSE;
$db['default']['cachedir'] = "";
$db['default']['char_set'] = "utf8";
$db['default']['dbcollat'] = "utf8_general_ci";
So i just configure my database file with right info and try to access the database but does not do anything no error or anything ...