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 'mysqlimport'?
What is datadir?
How does triggers work in mysql?
Is mysql is a programming language?
What is auto increment in mysql?
What is trigger in mysql with example?
1.how to fetch a value and Execute store procudure in mysql(INNODB) using phpMyAdmin? 2.can i wright a package in mysql database(INNODB)?
What is mysql_pconnect?
How to check server status with 'mysqladmin'?
What is a mysql server?
What are the two types of queries?
What is meant by decimal (5,2)?
Is mysql an oracle product?
What are the other commands to know the structure of a table using mysql commands except explain command?
What is ndb in mysql?