Hi I\'m kinda new to this and I would like to ask someone here that are experts in codeigniter framework and PHP.
How can I use mysqli drivers in php native query? F
Once you have specified 'mysqli', you can use the following function to get mysqli. For example, mysqli_real_escape_str, etc.:
'mysqli'
mysqli_real_escape_str
function get_mysqli() { $db = (array)get_instance()->db; return mysqli_connect('localhost', $db['username'], $db['password'], $db['database']); }