What is the difference between mysql_fetch_object and
mysql_fetch_array?

Answer Posted / bijaya.behera9911033016@orissa

mysql_fetch_object : as an object, we can access value by
column name as properties of the object.

mysql_fetch_array : as an associative array, we can access
value by column name as like associative name as column name
from array.

Is This Answer Correct ?    11 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is default session time in php?

520


List some string function name in php?

544


What is the w3c?

8551


How can we access the data sent through the url with the get method?

595


Write down the code for save an uploaded file in php.

532






What is the default session out time?

554


What is meant by an associative array?

519


How many data types are used by php?

515


Are php variables global?

563


Explain me the difference between include and require?

519


What is the purpose of the '.frm' file extension? What do thes file contain?

513


in PHP for pdf which library used?

560


Tell me how do you execute a php script from the command line?

517


Is php a cms?

532


What are some of the advanced features of php?

504