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_row()?

Answer Posted / narasimha.p

mysql_fetch_array()works as an associative array i.e. just
use the field name specified in your database to access the
values while mysql_fetch_row() returns the value of a
single field in a particular row if you r going to specify
the array's index which starts from '0'.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which php framework is best?

990


How variables are passed through arguments?

951


What is htaccess? Why do we use this and where?

989


Is session a cookie?

980


Explain scalar type declarations in php7?

959


How to redirect a url from http to https in .htaccess?

985


What are the advantages of oops in php?

1079


Will react hooks replace redux?

972


What's the difference between using mysql_ functions and pdo?

1161


What is associative array in php?

1018


Is php 5.6 secure?

993


How do you connet mysql database with php?

1070


Explain the types of string comparision function in PHP

948


Can you give example for trait in php?

1009


Is java is better than php?

998