What is the difference between mysql_fetch_array and
mysql_fetch_object?

Answer Posted / abhay kumar

mysql_fetch_array display all matching record from table as
an array while mysql_fetch_object dispaly first matching
from table as ab object

Is This Answer Correct ?    6 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I restore a mysql database?

549


How To see all the tables from a database of mysql server.

587


Is mysql connect deprecated?

500


What can I do with mysql?

511


Is mysql free for enterprise?

497






If you wish to encrypt the username and password using php, how will you do that?

527


What is the purpose of mysql database?

489


Can I use mariadb instead of mysql?

499


How do I select a database in mysql workbench?

504


How to use in conditions?

539


How to define numeric 9(3) in db2 table without decimal point??

2406


Explain the different types of mysql joins.

503


Does uninstalling mysql delete database?

500


Is mysql written in c?

494


What is heap table?

634