Home »

What is the difference between mysql_fetch_object() and mysql_fetch_array()?

Question ListCategory: PHPWhat is the difference between mysql_fetch_object() and mysql_fetch_array()?
milleranthony7 author asked 9 years ago
1 Answers
adamemliy16 author answered 8 years ago

The mysql_fetch_object() function collects the first single matching record where mysql_fetch_array() collects all matching records from the table in an array.

Please login or Register to Submit Answer