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.





1 comment:

  1. Hii,
    Thanks for the information.Learning PHP is not that tough but it is not easy as well. You can Learn PHP OnlineLearn PHP Online from the tutorials available on the internet.

    ReplyDelete