Jump to content

Countdown script


jatter

Recommended Posts

I'm trying to make a countdown script, but I'm having a problem with it. I want that the script refreshes itself every second and not the page.This is what I have till now.

<?phpsession_start();?><html><head><title> countdown </title></head><body><?php$start=40;while($start>=0)  {  echo "00:00:" . $start;  $start--;  }?>

I'm not sure if it's possible in php, but I'd appreciate it if you could find a solution in php.

Link to comment
Share on other sites

The "script" and the "page" are the same thing.
This is always so when using an S3L.
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...