This is a simple question for PHP users. The reason I couldn\'t get the the exact difference between mysql_fetch_array()
and mysql_fetch_row()
in P
mysql_fetch_array as the manual says can return an int (position) based index, associative array or both according to the result_type chosen.
in the other hand mysql_fetch_row always return the result set based on integer index.
I personally recommend you to use mysql_fetch_array passing MYSQL_ASSOC as second parameter since is always easier to know what field you would like to fetch