Rusty.Metal Posted February 5, 2003 Share Posted February 5, 2003 Im makeing a download script for php and i was wondering how i can make it count how meany times it has been downloaded... example - Utility - dose this and that - Downloaded # Times Link to comment Share on other sites More sharing options...
0 Ricky Baby Posted February 6, 2003 Share Posted February 6, 2003 if you store the download info in a DB // 1 generate and execute query $query = "UPDATE skins SET downloads = downloads +1 WHERE id = '$id'"; $result = mysql_query($query) or die ("MySQL Error - 2"); just edit to need Link to comment Share on other sites More sharing options...
Question
Rusty.Metal
Im makeing a download script for php and i was wondering how i can make it count how meany times it has been downloaded...
example -
Utility
- dose this and that - Downloaded # Times
Link to comment
Share on other sites
1 answer to this question
Recommended Posts