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
What is variable declaration?
What is a path Traversal?
What are the different components used in php for formatting?
How to check an key is exists in array?
Does php have multiple inheritance?
How to include variables in double-quoted strings in php?
What are interfaces in php?
What is the meaning of "enctype= multipart/form-data" ?
How do you define a constant in php?
Do you know what is the difference between mysql_fetch_object() and mysql_fetch_array()?
What is the difference between runtime exception and compile time exception?
Explain what is meant by pear in php?
How to make database connection in php?
What is difference between strstr() and stristr() in PHP?
Is it possible to use com component in php?