Re: page hit tracking
| From: | Ricardo Lopes | Date: | Fri, 06 Feb 2004 09:26:09 +0000 |
| Subject: | Re: page hit tracking | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-32817@lists.php.net to get a copy of this message | ||
you could create a counter table and store there the vegetable id and the
hits. After that each time you search for a vegetable, make an update to the
table.
----- Original Message -----
From: "js" <james@invividly.com>
To: <php-db@lists.php.net>
Sent: Friday, February 06, 2004 8:18 AM
Subject: [PHP-DB] page hit tracking
i am using php MySQL and i want to know how i can make a hidden value for
certain entries in a table and how many times they are called. for instance,
say i have a table of vegetables people can look at. the page displays all
of the vegetables, and then it generates links to each one and if the user
clicks on one then the page just calls itself and displays more information
about the vegetables. now, how do i make a counter where theres a field in
the table where it increases by 1 everytime someone looks at a particular
vegetable. i really am new to this so thank you for your help. thanks
-james