Having Trouble
Posted: Tue Jun 09, 2009 8:50 pm
I've been having a hard time trying to figure out how to code up a download counter. So I have a database setup with a bunch of different fields for certain attributes; one of them is downloads which pertains to the number of downloads and the other is a link to the file. I'm trying to figure out how to code up a counter so when that specific file is downloaded it will add 1 to downloads. The database is setup so there is a different file for each entry so it would have to be setup so it would work for the specific id number.
I did quite a few searches looking for this specific type of code but they all seem very lengthy and deal with users and what not. To me it seems like i can be coded of very concisely but I haven't been able to get a grasp on how to do it.
on specific id page > download file > download number goes up by 1. Pretty much the gist of what I'm looking to do. Any suggestions?
I did quite a few searches looking for this specific type of code but they all seem very lengthy and deal with users and what not. To me it seems like i can be coded of very concisely but I haven't been able to get a grasp on how to do it.
on specific id page > download file > download number goes up by 1. Pretty much the gist of what I'm looking to do. Any suggestions?