How can we find the number of rows in a result set using
PHP?
Answer Posted / 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 View All Answers
Explain me what are the differences between mysql_fetch_array(), mysql_fetch_object(), mysql_fetch_row()?
What is difference between mysql_connect and mysqli_connect?
What is the major php security hole? How to avoid?
How we can declare variable in php?
What is $globals php?
What is the best practice for running mysql queries in php? Consider the risk of sql injection.
How to get the position of the character in a string in php?
Explain Booleans in PHP?
How many columns can be added in a table in mysql?
Which library is used in php to do various types of image work?
What is fetch array in php?
What are the Advantages and Application Areas of PHP?
How can you increase the maximum execution time of a script in php?
What is the use of Php variables?
Is time a dependent variable?