Link after 3 second delay?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Citizen
Forum Contributor
Posts: 300
Joined: Wed Jul 20, 2005 10:23 am

Link after 3 second delay?

Post by Citizen »

This is basically what the code needs to do:

Code: Select all

if (one second goes by){
    echo 1...;
}
if (two seconds goes by){
    echo 1...2...;
}
if (three seconds goes by){
    echo 1...2...3...;
}
if (four seconds goes by){
   echo <a href="http://mywebsite.com>;
}
How do I go about coding something like this? Would it be better to do it in a flash file instead of php?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Use Javascript and a meta redirection.
Post Reply