|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
Im trying to find a way to count the number of times a clink is clicked and display that number next to the link. I basically have files on an ftp and I would like the user to know how many times the file has been downloaded. I was hoping to do this in mysql as to make it easier to keep up with the files and such.
Thanks Jim |
|
#2
|
|||
|
|||
|
This is the first thing that came to mind. Have the link to the file point instead to a general download script with the name of the file passed in the query string. The download script can update the table and begin the download.
|
![]() |
| Viewing: Dev Shed Forums > Databases > MySQL Help > Counting link hits and displaying them |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|