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 are the special characters you need to escape in single-quoted stings?

508


Why do we use sessions in php?

526


how to track user logged out or not? when a user is idle?

525


What is global array in php?

568


Why is used in php?

524






Tell me how to set a page as a home page in a php based site?

501


What are the encryption functions in php?

559


How do you explain independent and dependent variables?

491


What is an abstract class in php?

471


What is the best php version for wordpress?

521


What are the different types of statements that are present in php?

543


Why is php so popular?

511


Differences between get, post and request methods ?

485


How does php work?

532


What is difference between put and post method in http?

473