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...

How can we find the number of rows in a result set using
PHP?

Answer Posted / shivu

$no_of_rows=mysql_num_rows($result_set_name);
echo $no_of_rows;

Is This Answer Correct ?    13 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to execute an sql query? How to fetch its result?

1045


What is default session time and path in php?

992


What does namespace mean in php?

987


What are different types of errors available in Php?

883


"mysql_fetch_row — Get a result row as an enumerated array",this sentence comes from the PHP offical manual.However ,i can not understand the words "enumerated array".I need some help.Thanks a lot to everyone that reply.

1897


How to Pass JSON Data in a URL using CURL in PHP?

1010


What is the interface in php?

982


Which is true about the singleton design pattern?

889


Explain Creating and Naming an Array?

973


What is php and features of php?

909


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

943


What is $this in php?

926


What are the methods useful for method overloading?

975


Is php a framework?

901


What is memcache?

913