chandler Posted May 12, 2010 Share Posted May 12, 2010 Hi I have a php form once submitted a confirmation is displayed on the same page to the user,( "Thank you for your comments" ) how can I have this on a timer so after a few seconds the form will reload. echo $success_sent_msg; ?> <!-- Message sent! (change the text below as you wish)--> <div style="text-align:left;"> <p>Thank you <b><?=$name;?></b>, your quote will be sent to <?=$email;?>.</p> </div> <!--End Message Sent--> <?php } } if(!isset($_POST['send']) || $error != '') { ?> <!--Error Message--> <?=$error;?> Link to comment https://forums.phpfreaks.com/topic/201556-form-help/ Share on other sites More sharing options...
andrewgauger Posted May 13, 2010 Share Posted May 13, 2010 <meta http-equiv="refresh" content="5;url=yourpageurl.php"> so after 5 seconds the browser will refresh. This goes between: <head> and </head> Link to comment https://forums.phpfreaks.com/topic/201556-form-help/#findComment-1057567 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.