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. Quote Link to comment 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. Quote Link to comment 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 Quote Link to comment 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.