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 helper function?
Do you know what is use of count() function in php?
How can you associate a variable with a session?
What is php date function?
What is Gd PHP?
Which is better php or wordpress?
What is the current stable version of php? What advance thing in php7?
How arrays are used in php?
How long do php sessions last?
Explain about PHP cookies?
What is mysql_real_escape_string used for?
Can php run on windows server?
What is difference between php and html?
What do the initials of php stand for?
How do you create an array in php?