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

How do I export mysql query results to excel?

718


How do I rename a table in mysql workbench?

709


What is key in mysql?

680


Is mysql same as mariadb?

682


What is msql?

752


all the queries used in sql

2364


What command is used to delete the data from the table without deleting the table structure?

669


How do you stop an access query?

706


How can you retrieve a portion of any column value by using a select query?

695


How do I quit mysql?

690


How do I find my mysql username and password?

754


What are the 'mysql' command line arguments?

749


How would you get the current date in mysql?

854


How can I remotely connect to mysql database?

694


i made a table whih contain a column "Photo" with image data type and i want to insert the byte of a picture present in my hardisk using insert statement in that colum... so what will be my insert statement?

2398