title: Time countdown from database
body: <p>I'm doing a simple auctioning site for a school project and I want to display a countdown for how long the auction will be active, starting from when its made and counting down a week or so (not set yet). I was thinking of when creating the auction, info is added into a database (what object, price, name, and time remaining). I would add what date and time the object is created and exactly 7 days after its no longer active. If I have time and date in my mySQL database, how would I display with php (or maybe AJAX? Never used it) the time remaining?</p>
  
  <p>Any input is helpful as I'm completely stumped.</p>