Basic PHP Programming Question:

What is the difference between mysql_fetch_object and mysql_fetch_array?

Tweet Share WhatsApp

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 PDF Read All 139 PHP Questions
Previous QuestionNext Question
How To Get the Uploaded File Information in the Receiving Script?How can I execute a PHP script using command line?