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 are php strings?

1032


Can I learn php in a month?

1087


What is difference between strstr() and stristr()?

1166


What is traits? How it is used in php?

1096


Explain how to submit form without a submit button.

1009


Do I need to install php after xampp?

1039


With a heredoc syntax, do I get variable substitution inside the heredoc contents?

1160


What are the ways to include file in php?

1045


Is empty check in php?

1102


What is a php namespace?

1012


Tell me how can we define a variable accessible in functions of a php script?

991


List data types in PHP?

1097


How do you check if a variable has not been set in php?

968


What is var_dump?

1064


Tell me how to initiate a session in php?

1246