Re: Counting "Views" on records in DB!
| From: | Bas Jobsen | Date: | Fri, 21 Dec 2001 20:46:48 +0000 |
| Subject: | Re: Counting "Views" on records in DB! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-78516@lists.php.net to get a copy of this message | ||
UPDATE $table views=views+1
Op vrijdag 21 december 2001 21:38, schreef Thomas Edison Jr.:
> Hi,
> I was just going through some Message Board system and
> noticed that there is a "Views" column which gives how
> many times the Message has been viewed.
>
> I created a similar message board, where Messages are
> stored in a MySQL DB Table. But i have no idea how to
> do this, that the number of times that Record is
> picked up is counted!! Can anyone guide me as to how
> this can be achieved?
>
> Thanks,
> T. Edison jr.
>
>
> __________________________________________________
> Do You Yahoo!?
> Send your FREE holiday greetings online!
> http://greetings.yahoo.com