Jump to content

[SOLVED] php sleep() function ?


plodos

Recommended Posts

else
{
    echo "Error : The email address ['.$email.'] and name ['.$name.'] already exists in our database.";
//after 5 seconds 
//when the user read the sentence
header("Location: http://aaa.com"); 
}

 

how can I put the 5 seconds delay? after user will go another page

 

i didnt apply sleep(); function from http://tr2.php.net/sleep

 

or could you give me another solution method which is better to sleep()

Link to comment
https://forums.phpfreaks.com/topic/133879-solved-php-sleep-function/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.