?

Search Help Board

PHP FAQ
PHP Articles
PHP Help
Bulletin Board

PHP Manual (NEW!)
First Time PHP'ers
Help with programming
Sql assignment help
PHP Homework Help


C# Help

?
?Re: get total records in db - urgent
Author:??(---.scpe.powergate.ca)
Date:???04-28-04 07:14

Are you asking how to create a running total in PHP, where you loop thru the records and then show the total count?

while($rows=mysql_fetch_array($result)){

$counter+=1;

//echo other records

}

echo "Total Records : $counter";


hth

?Topics Author? Date
?get total records in db - urgent??new
dd 04-28-04 06:21?
?Re: get total records in db - urgent??new
bastien 04-28-04 07:14?
?Re: get total records in db - urgent??new
dd 04-28-04 07:31?
?Re: get total records in db - urgent??new
bastien 04-28-04 12:51?
?Re: get total records in db - urgent??new
dd 04-28-04 17:42?
?Re: get total records in db - urgent??new
bastien 04-29-04 20:25?
Go to Top??|??Go to Topic??|??Flat View??|??Search?
??|??
New Topic
?Reply To This Message
?Your Name:
?Your Email:
?Subject:
Email replies to this thread, to the address above.
????

Provided By
Phorum