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 / vijay kumar singhal

wrong, instead both returns all the rows from table. The
difference between them is fetch_array return result in
assoc array as well as numeric array and you can also
specify which specific type of array you want by providing
second paramter to the function while fetch_row return
result in numeric array only.

fetch_row : Array( [0]=>vijay)
fetch_array : Array([0]=>vijay [name]=>vijay)

Is This Answer Correct ?    131 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is use of count() function in php?

1029


Which is better wamp or xampp?

968


How to remove leading and trailing spaces from user input values?

972


What are sql injections, how do you prevent them and what are the best practices?

1062


What is asort php?

990


How to create an array from php string?

1044


How many types of arrays are there in php?

965


Are php sessions secure?

977


What is the difference between implode() and explode() in php?

1027


How would you determine the size of a file in php?

1048


What are objects in php?

970


When do sessions end?

954


How check submit button is clicked in php?

1025


Tell me what are the __construct() and __destruct() methods in a php class?

1002


How do you pass a variable by value in php?

1000