PHP Developer Question:
Download Questions PDF

Can you please explain the difference between mysql_fetch_object and mysql_fetch_array?

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?