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_array”
and “mysql_fetch_object?

Answer Posted / ravi farare

mysql_fetch_array() fetches record from database table as an
array. We can access each record like arr[0],arr[1]....etc.
on the other side mysql_fetch_object() fetches record from
database table as an object. So We can access each record
like obj->[column name].

Is This Answer Correct ?    21 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the features of php 7?

1043


When do you use define() and when do you use const. What are the main differences between those two?

1050


How to set a value in session? How to remove data from a session?

979


What are the advantages of indexes in php?

1032


Why php is used?

1088


How long does a session last in php?

951


What is artisan in php?

948


How can we check the value of a given variable is alphanumeric?

977


Tell me when a conditional statement is ended with an endif?

900


How to call php function in jquery?

1058


How to get elements in reverse order of an array in php?

1014


Tell me how to set a page as a home page in a php based site?

921


Tell me which programming language does php resemble to?

921


Does php need apache?

925


How to create a mysql connection?

952