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 is explode() in php?

948


Which PHP function would you use to send an email?

975


What are some new features introduced in php7?

8730


What is $row in php?

904


Require_once(), require(), include(). What is difference between them?

933


What is the use of mysqli_real_escape_string() function?

863


what is the current salary package in India for a PHP programmer who has 1.5 years experience

2922


Tell me how can we automatically escape incoming data?

877


What can php do?

943


How the result set of mysql be handled in php?

1024


How to upload file in php?

967


What is a php 5?

980


What is the best way to change the key without changing the value of a php array element?

917


Why did you choose this particular career path?

8747


Why ide is recommended for use while programming with php?

864