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 / 24/06/08

mysql_fetch_array() is select total values of tables.
mysql_fetch_object() is select a partcular name of the row
in a tables.
mysql_fetch_row() is select row in tables is saem one
object functionor comment.
mysql_fetch)assoc() it means the same function of
mysql_fetch)row and object function.

Is This Answer Correct ?    7 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What types of loops exist in php?

1041


Why php script is not running in browser?

1035


What is is_null() in php?

1052


Tell me how can you pass a variable by reference?

944


Is php better than java?

963


Which is better php or wordpress?

942


How to check a key exist in an array?

1080


What does mysqli_query return?

939


What are the different ways to login to a remote server? Explain the me, advantages and disadvantages?

1059


What is PECL?

1191


What is the difference between core php and php?

934


What is php beginner?

969


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

987


What is super () python?

1023


Do you know what's the difference between __sleep and __wakeup?

993