Basic PHP Programming Question:
Download Questions PDF

What is 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 Interview Questions And Answers PDF

Previous QuestionNext Question
How To Get the Uploaded File Information in the Receiving Script?How can I execute a PHP script using command line?