Hello fellows…
I activated the active record and i tried to use:
$id = $this->db->insert_id();
//or
$id = mysql_insert_id();but those code simply don’t work.
i’ve tried to change
$db['default']['dbdriver'] = 'mysql';
//to
$db['default']['dbdriver'] = 'mysqli';but it stills returning 0 (zero) in the insert id function.
what would i do?