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

Answer Posted / ditty k.m

mysql_num_rows(resultset);

this function will return the number rows after executing
a query.

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to get the total number of values in an array?

527


What is variable give example?

562


What is the difference between substr() and strstr()?

788


What are the Formatting and Printing Strings available in PHP?

589


What is the string concatenation operator in php?

528






What is cookie?

537


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?

687


What is helper function?

512


Why does php need server?

530


What is html used for?

560


List some array functions in php?

508


What is a php certification?

497


Which programming language does php resemble?

541


What is session and Cokkies . How it works . tell some thing about Session_id()

1543


Does session expire on closing browser?

493