Total Number Of Rows In MYSQL

This Tutorial Has Been Viewed 2,695 Times.

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”;

?>

VN:F [1.9.13_1145]
Rating: 6.3/10 (3 votes cast)
VN:F [1.9.13_1145]
Rating: -2 (from 2 votes)

Total Number Of Rows In MYSQL , 6.3 out of 10 based on 3 ratings

Incoming search terms:





You will also be interested in ,

Tags: ,

Leave a Reply

Spam protection by WP Captcha-Free

Proudly designed by Mistonline.in.
Affordable Seo PackagesSeo BlogEdu Backlinks
More in Mysql, PHP (122 of 130 articles)


The AJAX HTML Page This is the HTML page. It contains a simple HTML form and a link to a ...