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


Please Help Members By Posting Answers For Below Questions

What is php mean?

570


How many php functions are there?

548


What is the difference between client-side and server-side programming?

543


What is str_replace()?

545


Does apache use php?

542






Tell me what is the main difference between php 4 and php 5?

546


Who is the father of php?

565


What is Type hinting in PHP?

718


If we login more than one browser windows at the same time with same user and after that we close one window, then is the session is exist to other windows or not? And if yes then why? If no then why?

490


discuss the issue of software theft in ghana and how it has affected the economy

1675


How many days will it take to learn php?

534


What is difference between python and php?

519


Explain me is multiple inheritance supported in php?

535


What is regular expression in javascript?

457


How to reset/destroy a cookie?

579