On my site I've installed a working voting system using a thumbs-up or thumbs-down and vote count and it seems to be working, BUT, it asks for the ID of the data to vote on, and when I put either "songID", "$songID", "ID", or "$ID", it doesn't know what that is because when I look at my SQL data it shows that the ID is set to the word "ID", and not the ID number of the song.
For example, the song playing right now has an ID of 12907, but when I vote on this song, I can go back to my SQL and find the vote, but the ID says "ID" instead of the number.
When I look at the "songlist" table I can clearly see the song's ID under the ID column but I can't use it.
What parameter can I pass to the script where SQL will recognize the ID of the song that is currently being played and place that into the ID column in my database? That way it will allow unique voting for each song (I think).
I've contacted the author of the script, but he/she (?) hasn't responded yet.
Here is the webpage: https://coursesweb.net/php-mysql/voting ... _php-mysql