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

Tell us why did you choose this particular career path?

950


Explain how can php and javascript interact?

1039


What is trim function in php?

1078


What is the default session time in php?

1019


How to display your correct URL of the current web page?

1106


Can we set session value in javascript?

1056


Tell me what is the difference between the functions strstr() and stristr()?

1058


What are php expressions?

1107


What is magic function in php?

1035


Name and explain five of the PHP error constants?

954


What is session expiry?

960


How will you calculate days between two dates in PHP?

1075


What is return value in php?

1011


What PHP stands for?

1033


Describe PHP error and logging information?

1090