How can we find the number of rows in a result set using
PHP?

Answer Posted / sreenia

a small correction to above answer, mysql_num_rows($rs)

Is This Answer Correct ?    30 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between explode and split?

496


Tell me is it possible to submit a form with a dedicated button?

531


What is a php 5?

551


What is the difference between fopen() and fclose()?

588


What is http php?

500






What is strlen php?

545


What is zend studio for?

540


What is overloading in php?

552


What is use of header() function in php? What the limitation of header()?

477


Does php need html?

536


Is key in array php?

592


Difference between mysql_connect and mysql_pconnect?

510


What is the difference between apache and tomcat?

534


What is foreach loop in php?

535


How to find the index of an element in an array php?

527