php second countdown

Posted by jesop on Stack Overflow See other posts from Stack Overflow or by jesop
Published on 2010-03-11T05:54:49Z Indexed on 2010/03/11 5:58 UTC
Read the original article Hit count: 225

Filed under:
|

in my php page i have:

<?php 
setcookie("game", "GOW2", time()+3);
echo $_COOKIE["game"]."</br>";

echo "<a href=\"/mypro/mypro2.php/\">Refresh</a></br>";

?>

now i want at page load or when user clicks on 'Refresh' the following functionality

the timer should get reset and get displayed (as a countdown) and this countdown goes till it reaches 0 and stops.

is this can be done??

© Stack Overflow or respective owner

Related posts about php

Related posts about time