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...

Which is the best method to fetch the data from mysql?
1.mysql_fetch_array()
2.mysql_fetch_object()
3.mysql_fetch_row()
4.mysql_fetch_assoc()

Answer Posted / vinoth

My Opinion is at the developer point of view
mysql_fetch_assoc() is the Best method to fetch data but at
the same time at the user point of view we can use
mysql_fetch_object()for faster execution of the data.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to check a variable is array or not in php?

1016


What is the difference between the functions strstr() and stristr()?

984


What is curl php?

1025


How come the code works, but doesn’t for two-dimensional array of mine?

1051


How to check if a string contains a character or word in php?

1008


What is an anti csrf token?

936


What are the encryption functions in php?

1153


where do we use htaccess?

996


What is var_dump?

1017


How to call php function from javascript using ajax?

1004


Which function you can use in php to open a file for reading or writing or for both?

1093


Can you define an argument as a reference type?

962


What is cURL in PHP?

986


Explain briefly about a search-friendly site looks like?

908


Can you specify the "new line" character in single-quoted strings?

966