title: Countdown Timer interact with php mysql
body: <p>I want to construct a countdown timer so the customer gets discount on price if he buys the product before countdown ends. </p>
  
  <p>I've search internet and found a lot about countdown timer using Jquery, Javascript...</p>
  
  <p><strong>But how can i say in PHP</strong> that if the countdown is running then the product has 50% discount
  Else if countdown ends(00:00:00) delete discount, return product's price to normal.</p>
  
  <p>The price is stored in the database.</p>