title: A simple php timer
body: <p>I currently have a website that allows audio uploads and you can make a playlist off of these uploads. When you upload, I have getID3() to get the duration and save it in the database. </p>
  
  <p>Currently I have the file autoplay, however, the purpose of the duration in the database is to make a timer that will take that number, and count down as the song plays. When it reaches the number 'duration' in the database, I want it to then load a new song for streaming purposes. What is the best way to go about this?</p>
  
  <p>For additional information, is there a way to get the current time if they move the slider to the middle of the song, so that the timer can catch up? Or, is there a better way to do this without even using a timer?</p>