Share what is MYSQLI_NUM, MYSQLI_ASSOC and MYSQLI_BOTH?

Sunday, December 26, 2010

The difference in those parameters is only in how the array will be defined.

MYSQLI_NUM = Array items will use a numerical index key.
MYSQLI_ASSOC = Array items will use the column name as an index key.
MYSQLI_BOTH = Array items will be duplicated, with one having a numerical index key and one having the column name as an index key.

0 comments:

Post a Comment

 
 
 

Recent Posts

Recent Comments