I would normalize your table correctly:
download_counter {
did,
prodid,
dldstamp,
ip
}
and follow the product table:
product_table {
prodid,
version,
description,
url,
lastmodified,
etc;
}
And you would just insert the download request in your download_counter, referencing prodid , from your product_table.
Simple and easy to normalize. Then you will manage your products / downloads in a separate table.
Jakub source
share