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 distributed?

495


Does mysql support sequence?

499


How would you get the current date in mysql?

648


How to update info already in a table and delete a row(s) from a table.

452


What do I do if I forgot my mysql root password?

476






What is mysql protocol?

460


What is back end and front end?

469


What is trigger in mysql with example?

495


What is the difference between the primary and unique key in mysql?

461


Is mysql frontend or backend?

482


Why myisam is faster than innodb?

485


Is mysql query case sensitive?

486


How can you change the name of any existing table by using the sql statement?

513


How can I create table in mysql?

515


Where is the mysql data directory?

496