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 mysql an oracle product?

663


Difference between CHAR and VARCHAR?

777


what is mySQL. Is there any specific qualification required to do this course ? What is the scope in India after doing mySQL

1149


What is the current version of mysql?

689


Is sql and mysql same?

681


How to write after insert event update trigger on the same table in mysql?

726


What is the difference between mysql and sql?

753


Which software is used for mysql?

697


What is int unsigned?

687


What is mysql slow query?

715


what is constraints? Also explain the different types of constraints?

718


How does triggers work in mysql?

696


Can I use mariadb instead of mysql?

678


What is mysqli procedural?

707


What, if a table has one column defined as TIMESTAMP?

752