This example illustrates how to count the rows of the table.
As per the previous example we create a php page to find the number of rows of the table. To find the number of the rows we use the mysql_num_rows method.
Table: users

Source Code of sql_num_rows.php
<?php
|
Download Source Code
Output:
![]()
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.