| |
2old
Posts: 6
Score: 0
Joined: 12/28/2003
From: United Kingdom
Status: offline
|
Hi I have a very simple db that stores the number of times a file has been downloaded in a table (Table1). There are 3 fields - ID, URL and Counter. On a page I have references to 6 of the files that have been downloaded, and I need to write the number of downloads by the side of each file. Basically after connecting to the database I need to put something similar to this for each file: strSQL ="SELECT ID, Counter FROM Table1" set objRS = objConn.execute(strSQL) then in the html code - downloaded times What is the best code to achieve this Any help would be appreciated 2old
|
|