What is the difference between mysql_fetch_object and
mysql_fetch_array?
Answer Posted / shesh
mysql_fetch_object.....it return result as a object like
$result->name;
$result->city;
mysql_fetch_array.....it return result as a assiciative
array like
$result['name'];
$result['city'];
| Is This Answer Correct ? | 19 Yes | 7 No |
Post New Answer View All Answers
Tell me what is the main difference between php 4 and php 5?
Which php framework is fastest?
Which function parses an English textual date or time into Unix timestamp in PHP.
What is php and features of php?
How can you retrieve data from the mysql database using php?
What is the difference between single quoted string and double quoted string?
What is static variable in php?
Explain about the $_GET variable of PHP?
What are the different ways to login to a remote server? Explain the me, advantages and disadvantages?
What is php good for?
How to close a session properly?
Explain which cryptographic extension provide generation and verification of digital signatures?
What is php session_start() and session_destroy() function?
For image work which library is used in php?
What is mysql_fetch_array?