Showing posts with label mysql functions in PHP. Show all posts
Showing posts with label mysql functions in PHP. Show all posts

Saturday, November 5, 2011

What is the difference between "mysql_fetch_array" and "mysql_fetch_object"

The difference between "mysql_fetch_array" and "mysql_fetch_object" is
"mysql_fetch_array" function will take the result set as input and returns an associative array with data fetched from database table row. Where as,
"mysql_fetch_object" function will take the result set as input and returns an object with data fetched from database table row.