wwfc_barmy_army Posted July 27, 2008 Share Posted July 27, 2008 Hello. I'm looking for a 10 second countdown before an event happens. I'm not quite sure how to do it. Can anyone offer any advice? Thanks. Link to comment https://forums.phpfreaks.com/topic/116830-solved-10-second-countdown/ Share on other sites More sharing options...
MFHJoe Posted July 27, 2008 Share Posted July 27, 2008 When you say ten second countdown, do you mean you visually want it to count down on the screen? Because that's probably better done with JavaScript. If you just mean you want PHP to wait 10 seconds before doing something, try http://php.net/sleep. It doesn't come without it's problems though, I'd recommend you read the comments at the bottom of the php.net page. Link to comment https://forums.phpfreaks.com/topic/116830-solved-10-second-countdown/#findComment-600756 Share on other sites More sharing options...
wwfc_barmy_army Posted July 27, 2008 Author Share Posted July 27, 2008 Ah. Thats what i was after. Thanks Link to comment https://forums.phpfreaks.com/topic/116830-solved-10-second-countdown/#findComment-600759 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.