PHP Developer Question:

Download Job Interview Questions and Answers PDF

Can you please explain the difference between mysql_fetch_object and mysql_fetch_array?

PHP Developer Interview Question
PHP Developer Interview Question

Answer:

MySQL fetch object will collect first single matching record where mysql_fetch_array will collect all matching records from the table in an array.

Download PHP Developer Interview Questions And Answers PDF

Previous QuestionNext Question
How to get uploaded file information in the Receiving Script?How to execute a PHP script using command line?