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 the latest version of php?
What is array filter in php?
How can you get web browser’s details using PHP?
How can a cross-site scripting attack be prevented by php?
What is ci framework in php?
What are the difference between overloading and overriding in oops?
How do I stop a php script?
Difference between $message vs. $$Message in php.
Explain a resource?
What is the use of mysql_fetch_array in php?
What is the use of htmlspecialchars in php?
Which character is used to match exactly one character?
What is data type in php?
What are the differences between php3 and php4 and php5? What is the current stable version of php? What advance thing in php7?
What is an abstract class in php?