How do i add number of download on my blog,(code) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do i add number of download on my blog,(code)

I want to add number of download on my blog like when you upload a song and u wants to see the number of people that download it

8th Dec 2019, 7:19 AM
INCREDIBLE CEO
INCREDIBLE CEO - avatar
2 Answers
+ 1
If you already have the user downloading the songs, I suggest you use php and you can use something called ajax to run a php command from javascript once the song is downloaded. Then you can just store the number in a file on the web host or in mysql, however you prefer.
10th Dec 2019, 6:19 AM
coddy
coddy - avatar
0
Ok thnk u very much,
17th Jan 2020, 2:43 PM
INCREDIBLE CEO
INCREDIBLE CEO - avatar