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 |
Tell me what is needed to be able to use image function?
What are the data types in php?
Can anybody plz tell me if there any recruitment on php plz mail to vasudev.adepu@gmail.com.i had completed M.SC(MATHS) in 2007 . trying to get a job on php. i have good knowledge on PHP/MYSQL
List some features of php that are deprecated in php
when will be syndicate bank written exam ? i need the date of exam
What is PHP? Who is the father or inventor of PHP?
How to make a file encrypt and decrypt?
How do you explain independent and dependent variables?
What is the purpose of a query?
what is pear in php in brief ?
What is the difference between php and cakephp?
How can we display information of a variable and readable by human with php?