What are the differences between MySQL_fetch_array(),
MySQL_fetch_object(), MySQL_fetch_row()?

Answer Posted / vel

when u r using mysql_fetch_object i will first matching
record.
u can access the result set by column name of that record.

when u r using mysql_fetch_array i will fetch all the
matching records from the table.
u can access the result set by index as well as colum name
of that record.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is primary key auto increment?

595


What is mysql server used for?

561


What is the maximum size of mysql database?

568


Write a command to list all databases in mysql?

603


What is difference mysql and mysqli?

591






How can I create a database in mysql?

543


Can we rollback truncate in mysql?

611


Where’s database data actually stored?

614


How do I create a mysql database?

577


What is the difference between sql and mysql and oracle?

525


What is use of mysql?

569


What is logs in mysql?

555


How will you export tables as an xml file in mysql?

551


What can you do with mysql?

579


What is difference between inner vs self vs cross?

578