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

Is it possible multiple inheritance in php?

1028


How do you explain independent and dependent variables?

903


What is the difference between explode () and split () functions in php?

1126


How to stop the execution of php script?

975


What is the use of pear in php?

1010


What are the different filter functions used to filter a variable?

982


What is the use of mvc in php?

991


Where php basically used?

1011


What is inheritance in php? How many types of inheritance supports php?

999


What is difference between php and html?

1052


What is new keyword in php?

945


How would you determine the size of a file in php?

1048


What is difference between include and include_once in php?

944


Is it worth learning php in 2019?

973


Tell me how to find the position of the first occurrence of a substring in a string?

969