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
Write a program to find no of days between two dates in php?
Tell me how to find the length of a string?
How to run a php script?
What is csrf token and how it works?
What are the different ways to login to a remote server?
How to repeat a string to a specific number of times in php?
Explain me what is the difference between $_files['userfile']['name'] and $_files['userfile']['tmp_name']?
What is the difference between htmlentities() and htmlspecialchars()?
What is get and post method in php?
What is a simple php method to make a cross domain data request?
How to declare an array in php?
What are the two most common ways to start and finish a php block of code?
What does the scope of variables means?
Where sessions stored in PHP?
What is the difference between array_pop() and array_push()?