Source Code Online Home Categories Top Code New Code Submit Code
Search
Subject Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Visual Basic & VB.NET
 XML
New Code
Online Notebook Manager 1.0
DMXReady Blog Manager 1.0
Availability Booking Calendar 1.5
Free Hotel Management Source Code 1.0
Artistic Photo Gallery 1.0
Advanced Image Grid AS 2.0 1.0
The Viral Script 1.0
bretteleben.de Panoramascript 1.01
One more way ... 1.01
ASPAuctionPro 1.1
bretteleben.de Lakescript 1.01
bretteleben.de Slideshow 1.01
Pacific Timesheet 6.4
DMXReady Classified Listings Manager 1.0
DMXReady Secure Login Manager 1.0
Top Code
Adirex 3D Chess Client 1.0
Habanero 2.0.1b
ikiCLassifieds 2.0
JVMail 2.0.0
P2P .htManager 0.2
Smart Font Listbox 1.0
Su Logu 0.6.2
Ticket Support Script 1.1
Time and Attendance 1.0
WhoisOnsite 1.VIII
XMBForum 1.9.10 Karl
phpTimeSheet 1.3.0-preview 2
Arbitrary-shape Popup Box 1.0
CSTreeBean 0.3
encbtn32.zip 1.00.00b
Details

Counting Rows 

 
by David Mytton

In this article, the author gives a simple code in PHP for counting the number of rows or records in a database. He gives some sample PHP script function for this. He also gives notes on how the mysql_num_rows function will work only for select statements and the mysql_affected_rows function should be used for other statments like INSERT. This article is useful for PHP programmers.

License: Freeware

Downloads: 0

Download Counting Rows  Report Error Link
More Similar Code


Count Records in DataSets is a simple tutorial which gives you the method of counting the total number of records in the DataSet object. This tutorial uses the Count property of the Row collection of the DataTable object to get the count of the DataS



Summary Rows in DataGrid Controls is an article for the .NET programmers to create summary rows and add it to the datagrid controls. Summary rows are the group of records from the database table having a common key. This tutorial clearly explains how



Alternating colors for rows and columns helps the PHP programmers to display their site contents with an attractive color matches. This tutorial explains the syntax for setting two colors for alternate rows and columns in a table. Seperate source cod



Bird Counting Game is an online game which is interesting and interactive to the users. This game can be placed on any type of websites. Webmasters can include this game on their websites for their visitors for entertainment. This game can be played



Learn how to calculate the difference between two dates in JavaScript, and in the process, derive some useful applications such as counting down to a particular event, counting up, displaying what's new on your page etc.



Dynamically Add Table Rows is a JavaScript, which can be incorporated in you web pages to modify contents of a web page. The script displays a link, using which the user can click on it and can dynamically insert rows to the table of your web page. T



vhcount is a graphical hit counter That does not require SSI. This counter sends you an email every adjustable number of hits and offers features such as referral counting, creating pages with the statistics and not counting your own ip-address His.



Display via SSI rows of summary info in the format of "Field1 : Field2". For example, "US Dollar : $3.80", "Gold : $8.95/gram", "New Castle 1 : Liverpool 2", "Champion : Mike Tyson" etc. Features...



This is an useful tutorial through which you can gather more information about grouping rows in the datagrid control. You can group the rows of the same category in the datagrid control for your necessity. This tutorial gives you the sample code whic



Counting Records Wizard is a multi-platform compatible wizard that will help you accomplish this task. Fill in the form below and it will crank out the code for you.

User Review for Counting Rows 
- required fields
     

Please enter text on the image