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
What is a null coalescing operator in php7?
How many open modes available when a file open in PHP?
What is the default time in seconds for which session data is considered valid?
What is trim codeigniter?
What are some new features introduced in php7?
What is the difference between characters and #?
Is multilevel inheritance possible in php?
Tell me how to find the position of the first occurrence of a substring in a string?
How can we pass the variable through the navigation between the pages?
What is the use of curl()?
What is putenv?
Tell us how to set cookies in php?
What is inheritance in php?
is that "enumerated array" equal to "numeric array"?
Why session timeout is important?