BRADERY Posted November 29, 2010 Share Posted November 29, 2010 <?php for($test=100; $test!=0; $test--){ echo $test."\n"; sleep(1);} ?> Instead of counting down like 100 99 98 etc how can I make it replace the previous number? So it would just be like 100 then 100 would go away and 99 would replace it and so on Any help is appreciated Link to comment https://forums.phpfreaks.com/topic/220105-ok-so-a-countdown/ Share on other sites More sharing options...
trq Posted November 29, 2010 Share Posted November 29, 2010 You would be better off using Javascript. Link to comment https://forums.phpfreaks.com/topic/220105-ok-so-a-countdown/#findComment-1140796 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.