title: Redirect 10 second Countdown
body: <p>I have a page which redirects a user after 10 seconds with the following code.</p>
  
  <pre><code>&lt;META HTTP-EQUIV="refresh" CONTENT="10;URL=login.php"&gt;
  </code></pre>
  
  <p>I then have this code which is echo'd in PHP, and would <strong>like the "10" (seconds) to countdown dynamically as 10, 9, 8, 7... so the user can see the seconds left until the page redirects.</strong></p>
  
  <pre><code>echo "We cant find you on the system. &lt;br/&gt; Please return to the &lt;b&gt;&lt;a href='login.php'&gt;Login&lt;/a&gt;&lt;/b&gt; page and ensure that &lt;br/&gt;you have entered your details correctly. 
  &lt;br&gt;
  &lt;br&gt;
  &lt;b&gt;Warning&lt;/b&gt;: You willl be redirected  back to the Login Page &lt;br&gt; in &lt;b&gt;10 Seconds&lt;/b&gt;";
  </code></pre>
  
  <p>I was wondering if there was a way that this can be done in PHP, if not what would be the best way to achieve the same?</p>