do this after 5 seconds

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
gos1
New php-forum User
New php-forum User
Posts: 10
Joined: Tue Apr 18, 2006 2:30 am

Mon Jun 05, 2006 9:02 am

Does any one knows the function like go to page after 5 seconds. Or run code after 10 seconds ?

User avatar
Redcircle
Moderator
Moderator
Posts: 826
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA
Contact:

Tue Jun 06, 2006 6:40 pm

you can use sleep() http://www.php.net/sleep or do a meta refersh

Code: Select all

<meta http-equiv="refresh" content="600" />

gos1
New php-forum User
New php-forum User
Posts: 10
Joined: Tue Apr 18, 2006 2:30 am

Thu Jun 08, 2006 10:06 am

Thank you but not like that. Like when you are in a competition a timer watch is working. How can I make the timer script. ? ? ?

User avatar
Redcircle
Moderator
Moderator
Posts: 826
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA
Contact:

Fri Jun 09, 2006 4:03 pm

using javascript then

setTimeout

gos1
New php-forum User
New php-forum User
Posts: 10
Joined: Tue Apr 18, 2006 2:30 am

Sat Jun 10, 2006 12:03 pm

Can I see the timer on the screen By that method?

Post Reply