ali_2kool2002 Posted February 19, 2007 Share Posted February 19, 2007 how do you return back to a page after a submit button has been pressed and moves on to handling form? i have a button which does validation but moves to the page with the script that validates it but i want it to go back to the page it started from ... Link to comment https://forums.phpfreaks.com/topic/39206-solved-returning-back-a-page/ Share on other sites More sharing options...
camdagr81 Posted February 19, 2007 Share Posted February 19, 2007 <?php header("Location: www.yoursitehere.com/yourpage.php"); ?> Link to comment https://forums.phpfreaks.com/topic/39206-solved-returning-back-a-page/#findComment-188878 Share on other sites More sharing options...
pocobueno1388 Posted February 19, 2007 Share Posted February 19, 2007 Or you could just put the update information at the top of your script, so that way you don't have to move from page to page at all. Link to comment https://forums.phpfreaks.com/topic/39206-solved-returning-back-a-page/#findComment-188879 Share on other sites More sharing options...
ali_2kool2002 Posted February 19, 2007 Author Share Posted February 19, 2007 thanks ,,,didnt get what u mean by update info but thanks got it neway Link to comment https://forums.phpfreaks.com/topic/39206-solved-returning-back-a-page/#findComment-188880 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.