Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Steps for the payment gateway processing?

952


What is the $_ server php_self variable?

944


How can you encrypt password using php?

988


How to get best php developer Experience in Php with Sugar CRM / VTiger.

4343


Explain Type juggling?

923


What is the difference between apache and tomcat?

960


What is die in php?

977


Do you know what is the use of rand() in php?

937


What is a substring in php?

996


How can I convert ereg expressions to preg in php?

937


Can you define an array argument as a reference type?

876


Does php pass arrays by reference?

1023


Is age an interval or ratio?

911


What is a variable cost example?

962


how to track user logged out or not? when a user is idle?

865