What is the difference between mysql_fetch_object and
mysql_fetch_array?

Answer Posted / abhishek

my_fetch_object is only fetch the object value and
my_fetch_array is handle the arry but in associative form..
so this is the basic difference.

Is This Answer Correct ?    7 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is smarty?

565


What does session start do in php?

509


What is scope of variable in php?

580


How to remove duplicate values from a PHP Array?

547


What is the maximum size of a database in mysql?

527






Tell me how to execute an sql query? How to fetch its result?

501


What is the differences between $a != $B and $a !== $B?

536


What is a php 5?

551


Tell me whether it is possible to share a single instance of a memcache between multiple php projects?

539


What is use of header() function in php? What the limitation of header()?

477


What is laravel php?

540


What is the difference between static and dynamic websites?

510


How does php and apache work?

536


Do you know what is use of count() function in php?

521


Which is better session or cookie?

528