Download Count update always the same ID
Hello
I applied the download count on the download page. When the user downloads the system increases and records in mysql. The problem is that the increment is always saved in the same file ID. If I have 10 files for download, the system updates ArquivoID always the same in mysql. For example: If I download the file once with ID 1 and ID 2 to 10 times, the system always update the ID 1.
The column in the table is CountDownload files and defaults ZERO.
key column: ArquivoID and value: $ row_rsArquivos ['ArquivoID']
Tanks