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 Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/220105-ok-so-a-countdown/#findComment-1140796 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.