I wrote a simple jukebox script, which has the ability to add in and delete songs.
The script works seems fine when i upload it into my server but when i manually add in songs to the server, the script is unable to delete it despite displaying the songs. When i select the delete function it tells me that the song has been deleted but when i refresh the page it shows up again.
I dont know what went wrong, please help me. The script is included below. Thank you.
DeleteSong.php
DoDelete.php
MultipleDelete.php