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 / pratik

mysql_fetch_object() is the best method. It is not
generally affected in small result. mysql_fetch_array() has
some limit to fetch data from table. when result it too high
(more than 4000 record) at that time
mysql_fetch_object()will support.

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are default session time and path?

1125


Is php a programming language?

1049


if you run the app program all vendor open items are cleared but is it possible to reverse the again again open items please tell me the answer

1918


How do functions work?

1117


What is the difference server side and browser side validation?

1005


Explain me how to include a file to a php page?

969


How to replace a text in a string with another text in php?

976


What php framework does wordpress use?

1025


How do I run a php file?

969


What are the benefits of composer?

1011


Where session is stored?

985


Who is known as the father of php?

1139


What is faster?

1012


What is difference between readonly and constant?

997


Is it possible to protect special characters in a query string?

998