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

How to get number of elements in an array?

946


armstrong number by using php while number is given by the keyboard.?

2129


How can we encrypt the password using php?

1035


When to use single quotes, double quotes, and backticks?

933


Tell me what is the use of isset() in php?

1000


What is session php?

906


What is a session in php?

950


How can you associate a variable with a session?

970


What is polymorphism with example in php?

906


How to find datatype of variable in php?

949


What are the advantages of using php?

920


What does isset() function?

908


What is default session time and path in php?

996


How escape single quotes php?

934


How to set cookies?

950