counting and displaying a how many figure
| From: | Dave Carrera | Date: | Sun, 05 Aug 2001 05:49:20 +0000 |
| Subject: | counting and displaying a how many figure | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-11074@lists.php.net to get a copy of this message | ||
Hi All
I would like to know how to count how many downloads of a file I have on my
site is downloaded and display something like " file.name downloaded xxxx
times" on my page.
I have this idea using mysql db.
table files
ID int autoincrment,
file_name,
URL,
I believe this would utilise something like the count() function but I
haven't used this yet
Thanks for any help or guidance in this matter.
Dave C ;-)