• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to support $result->fetch_array(MYSQLI_ASSOC)

Is there a way to extend CI to support the MySQLI method:

I'm a big fan of associative arrays and dislike the fact that I have to use alternate syntax for CI.

I would like to extend the DB class to support this if possible.

if you use result_array or row array you get an associative array if i'm not mistaken? The only thing that is numeric is are the row numbers with result_array.

$result->result_array(); seems to be OK.

Is there any code that allows CI to match MySQLI syntax?

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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