Discussion board
What are the differences between mysql_fetch_array(), mysql_fetch_object(), mysql_fetch_row()?
By Abhijit Paul
Differences between mysql_fetch_array(), mysql_fetch_object(), mysql_fetch_row()...
Reply
Post   Reset
Teacher SiliconIndia replied to Abhijit Paul Wednesday, November 04, 2009
Hi Abhijit,

mysql_fetch_array() -> Fetch a result row as a combination of associative array and regular array.
mysql_fetch_object() -> Fetch a result row as an object.
mysql_fetch_row() -> Fetch a result set as a regular array().

Hope u got the differences now.