gt; }
>
> to display and validate the form
>
> -----Original Message-----
> From: Michael O'Neal [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 09, 2001 9:53 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [PHP] Count function. (Newbie Question)
>
>
>> Hi
>&
l O'Neal [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 09, 2001 9:53 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Count function. (Newbie Question)
>Hi
>
>There are 2 issues:
>
>You need to maintain a page counter
>
>You need to pass the page counter and the total page co
>Hi
>
>There are 2 issues:
>
>You need to maintain a page counter
>
>You need to pass the page counter and the total page count from page to page
>
>You can do this via url params
>(xxx.html?page=$page_count&record_count=$record_count), sessions or cookies
>depending
>
>HTH
Let me elaborate a li
Well, in this code, you are going to receive one line from your table that
displays the total number of records. And that is it. Here is a sample from
one of my tables, using the MySQL CLI:
mysql> select count(*) from locker;
+--+
| count(*) |
+--+
| 47 |
+--+
1 row
Look here as a starting point:
http://www.php.net/manual/en/function.mysql-num-rows.php
I don't know the exact answer to your question but I hope that this helps.
-- Rodney
Michael O'Neal wrote:
> Hi,
>
> I'm trying to display a record count of some sort on a page I'm working
> on. For examp
Hi
There are 2 issues:
You need to maintain a page counter
You need to pass the page counter and the total page count from page to page
You can do this via url params
(xxx.html?page=$page_count&record_count=$record_count), sessions or cookies
depending
HTH
-Original Message-
From: M
6 matches
Mail list logo