What is the difference between mysql_fetch_array and
mysql_fetch_object?
Answer Posted / sumit
mysql_fetch_object : will return the results from database
as objects. fields will be accessible like an objects
i.e $result->name
mysql_fetch_array : will return the results from database as
array. fields will be accessible like in objects
i.e $result[name]
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Can I use mariadb instead of mysql?
how to Return total number of rows.
What are the advantages of mysql in comparison to oracle?
What you can use regular expression for in mysql? Support your answer with an example?
What is the difference between MyISAM Static and MyISAM Dynamic?
What is difference between schema and table?
What are different types of queries?
What is the use of procedure in mysql?
Where is the mysql config file?
How do you know if your mysql server is alive?
What are the technical features of MySQL?
What is difference between microsoft sql and mysql?
How to update info already in a table and delete a row(s) from a table.
What is limit in mysql?
How do you create a schema?