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

Why echo is faster than print in php?

970


Can we use php variable in javascript?

1005


List some array functions in php?

928


What is $_ env in php?

977


What is the use of print_r function in php?

932


Which cryptographic extension provide generation and verification of digital signatures?

937


Which php framework is in demand?

902


Write a program using while loop?

1019


What is singleton design pattern in php?

989


Is session a cookie?

964


Explain me what is the difference between explode() and split() functions?

1074


Write a program to find no of days between two dates in php?

987


What is the use of addslashes in php?

933


What is the php function that removes the first element of the array and returns it?

963


Explain Whitespace Characters?

1040