How can we find the number of rows in a result set using
PHP?
Answers were Sorted based on User's Feedback
Answer / sreenia
a small correction to above answer, mysql_num_rows($rs)
| Is This Answer Correct ? | 30 Yes | 0 No |
Answer / shivu
$no_of_rows=mysql_num_rows($result_set_name);
echo $no_of_rows;
| Is This Answer Correct ? | 13 Yes | 2 No |
Answer / rakesh kumar nautiyal
mysql_num_row() can return the number of rows in php
| Is This Answer Correct ? | 10 Yes | 8 No |
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 |
What is self in php?
What is trait in php?
Swap two variables value without using third variable in php ?
How long is a php session valid?
When to use get and post request?
can anyone tel me about the Expression engine Note:Its a CMS in Php
How to find datatype of variable in php?
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...?
Why we use get in php?
What is the purpose of $_ session?
What is http php?