Hello please i have a download webpage which allow users to download mp3 files. I want to display the number of times a user has click the download button and display it on the webpage. The records are in a database and this is my code.
This is my download button which will be click to update my record count...
<a href="file.php?id=<?php echo $row['song_id']; ?>" class="btn btn-primary"><i class="fa fa-download"></i></a>
My database looks like this...
song_id song artist filename download
xxx xxx xxxx xxxx xxxx
I want the count to update the download column anyt time a button is clicked.
Any help please.