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

Answer Posted / rakesh kumar nautiyal

mysql_num_row() can return the number of rows in php

Is This Answer Correct ?    10 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What good is polymorphism?

495


How can we execute a php script using command line?

528


Tell me what is the difference between get and post?

478


What is session php?

513


Tell me what does the scope of variables means?

535






What are the different types of PHP arrays?

571


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

588


Can I learn php without knowing c?

561


What is php and features of php?

453


Tell me what is the use of "ksort" in php?

557


What is a static method php?

518


Suppose we receive a form submitted by a post to subscribe to a newsletter. This form has only one field, an input text field named email. How would we validate whether the field is empty? Print a message "the email cannot be empty" in this case?

683


What is session_start () in php?

526


Explain me what is the goto statement useful for?

478


Tell me what is the difference between exception::getmessage and exception::getline?

512