This example illustrates how to find number of rows of the table.
This example illustrates how to find number of rows of the table.This example illustrates how to find number of rows of the table.
In this example we create a php file in which we execute a query and find the number of rows of the table by mysql_num_rows methods. The output shown on the browser as below given.
Table:emp
Source Code of num_rows.php
<?php
|
Output: