What is the difference between mysql_fetch_object and
mysql_fetch_array?
Answer Posted / priya ranganathan
mysql_fetch_object : will return the results from database
as objects. fields will be accessible like in objects
i.e $result->name,$result->cust_name
mysql_fetch_array : will return the results from database as
array. fields will be accessible like in objects
i.e $result[name],$result[cust_name]
| Is This Answer Correct ? | 139 Yes | 10 No |
Post New Answer View All Answers
Steps for the payment gateway processing?
What is the $_ server php_self variable?
How can you encrypt password using php?
How to get best php developer Experience in Php with Sugar CRM / VTiger.
Explain Type juggling?
What is the difference between apache and tomcat?
What is die in php?
Do you know what is the use of rand() in php?
What is a substring in php?
How can I convert ereg expressions to preg in php?
Can you define an array argument as a reference type?
Does php pass arrays by reference?
Is age an interval or ratio?
What is a variable cost example?
how to track user logged out or not? when a user is idle?