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 are Routines?

2288


Is not null mysql?

1014


What is orm in php framework?

1082


What is csrf token and how will you add csrf token in ajax?

1027


List some sorting functions in php?

1015


What is oops php?

1019


How do you check is php not empty?

1054


Is age interval or ordinal?

996


Why is overriding runtime?

1042


Which functions are used to remove whitespaces from the string?

1196


How to write comment in php?

1223


What is super () python?

1080


What is the difference between query and inquiry?

959


What are php variables?

1022


How to remove the new line character from the end of a text line in php?

1020