title: PHP JavaScript Countdown Timer
body: <p>I need to make a countdown timer that displays a specific number of minutes and seconds counting down - not a countdown to a certain date.</p>
  
  <p>And depending on a variable, change these numbers.</p>
  
  <p>So for <code>$video == 1</code>, I need to display on the page: <code>8 minutes &amp; 54 seconds</code> (counting down)</p>
  
  <p>And for <code>$video == 2</code>, I need to display on the page: <code>5 minutes &amp; 01 seconds</code> (counting down)</p>
  
  <p>I also need the countdown display to disappear after the time has elapsed, but maybe I should put that into a different question.</p>
  
  <p>The problem I'm having is the all the countdown scripts I can find deal with counting down to a specific date.</p>