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
How to execute an sql query? How to fetch its result?
What is default session time and path in php?
What does namespace mean in php?
What are different types of errors available in Php?
"mysql_fetch_row — Get a result row as an enumerated array",this sentence comes from the PHP offical manual.However ,i can not understand the words "enumerated array".I need some help.Thanks a lot to everyone that reply.
How to Pass JSON Data in a URL using CURL in PHP?
What is the interface in php?
Which is true about the singleton design pattern?
Explain Creating and Naming an Array?
What is php and features of php?
Do you know what is use of count() function in php?
What is $this in php?
What are the methods useful for method overloading?
Is php a framework?
What is memcache?