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?

Answers were Sorted based on User's Feedback



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

Answer / sreenia

a small correction to above answer, mysql_num_rows($rs)

Is This Answer Correct ?    30 Yes 0 No

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

Answer / shivu

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

Is This Answer Correct ?    13 Yes 2 No

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

Answer / rakesh kumar nautiyal

mysql_num_row() can return the number of rows in php

Is This Answer Correct ?    10 Yes 8 No

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

Answer / ditty k.m

mysql_num_rows(resultset);

this function will return the number rows after executing
a query.

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More PHP Interview Questions

What is self in php?

0 Answers  


What is trait in php?

0 Answers  


Swap two variables value without using third variable in php ?

0 Answers   MCN Solutions,


How long is a php session valid?

0 Answers  


When to use get and post request?

0 Answers  


can anyone tel me about the Expression engine Note:Its a CMS in Php

2 Answers  


How to find datatype of variable in php?

0 Answers  


How can I check if a value is already in an array?

3 Answers   Rushmore Consultancy,


how to make website package setup like desktop software setup ... that front end and backend can include in setup like single package...?

0 Answers  


Why we use get in php?

0 Answers  


What is the purpose of $_ session?

0 Answers  


What is http php?

0 Answers  


Categories