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
How to get a random value from a php array?
What is the difference between php and core php?
What is difference between session_unset and session_destroy?
hello all, I need some sample placement papers in lion bridge.. can anyone help me?
How can we calculate the similarity between two strings?
Explain about switch statement in PHP?
How to increase the execution time of a PHP script?
What is the difference between rest and soap?
if you run the app program all vendor open items are cleared but is it possible to reverse the again again open items please tell me the answer
What is the meaning of "enctype= multipart/form-data" ?
What is the name of scripting engine in php?
Why do we use htaccess
What is Apache's configuration file typically called?
Why are sessions used?
What is difference between mysql_fetch_array and mysql_fetch_assoc?