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
What is the use of mysql workbench?
How to return query output in xml format?
What is mysql architecture?
What is mysql data directory?
Is mariadb faster than mysql?
What does mysqli_fetch_assoc do?
What is the latest mysql version?
how you will Create a database on the mysql server with unix shell.
How do we delete a row in a table?
Explain the difference between delete and truncate.
What could be the reason that the mysql statement 'select avg (salary) from emp' generates an inaccurate output?
What is processlist in mysql?
How do I rename a procedure?
What is int unsigned?
Will mysql remain free?