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

for image work which library?

928


How to define a function with any number of arguments?

1001


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

921


What is the ioncube php loader?

987


What type of errors can be occurred in php?

941


Do you know what is use of count() function in php?

952


How can you retrieve a cookie value?

1021


Is not null in php?

905


How can you create a session in php?

1008


How many escape sequences are recognized in double-quoted strings in php?

941


How long is csrf token?

882


How to count all the lines of code in a directory and sub folder?

939


What is the w3c?

8892


What is encapsulation in php with example?

1083


How to redirect a url from http to https in .htaccess?

952