246_slc wrote in php

Tracking User Downloads (previously posted php_mysql)

I’m using PHP and MySQL to create a dynamic page that delivers files to users based on group settings.

The user is given a variety of files to download, based on their unique settings.
I want to track what files the user selects to download.

For the life of me…I can’t figure out how to do that without creating a button for each file.
(The button triggers an entry into the appropriate table and starts the download.)

Is there a more elegant solution??
(I’d rather do it within a hyperlink)

Appreciate any help!