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

What is http php?

500


What are the ways to define a constant in php?

529


What is nginx and what is it used for?

516


How to generate a form?

615


Tell me what is the actually used php version?

567






Explain the difference between $message and $$message?

558


What is the default session time in php?

534


Is a number php?

528


Why do we use namespace in php?

463


What is PECL?

779


What is a query in php?

478


How many types of php frameworks are there?

493


Is php a case sensitive language?

616


How do http requests work?

500


What is abstract class php?

517