This tutorial will help you calculate the total number of rows in your MYSQL table with ease using simple php scripts.
< ?php
$link = mysql_connect("localhost", "root", "");
mysql_select_db("mails", $link);
$result = mysql_query("SELECT * FROM mail", $link);
$a = mysql_num_rows($result);
echo "$a Rows\n";
?>
discuss this topic to forum
