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

How to join multiple strings stored in an array into a single string?

978


What is php form validation?

976


How to register a variable in PHP session?

927


What is csrf token and how it works?

957


Explain what are some new features introduced in php7?

869


Why laravel is the best php framework in 2019?

893


Explain me what is the use of 'print' in php?

878


What is the main difference between asp net and php?

974


How to create reusable code in php?

997


What is the difference between myisam and innodb?

994


Can I learn php without knowing c?

970


How is the comparison of objects done in php?

886


Explain how to run the interactive php shell from the command line interface?

1029


Tell me whether it is possible to share a single instance of a memcache between multiple php projects?

933


How can we encrypt the password using php?

1043