Re: Quick Question
| From: | Sebastian Delmont | Date: | Tue, 06 May 2003 22:47:39 +0000 |
| Subject: | Re: Quick Question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-146586@lists.php.net to get a copy of this message | ||
Dale wrote:
I have a quick question. Currently, I have a form embedded in some html code that goes to another page when the user clicks submit. On this other page, I update the database and perform some other operations. When I am done on this page, how do I get back to original form page so the user can fill out another form. Thanks, Dalefunction Redirect( $url, $status = "302 Found" ) { header( "Status: $status" ); header( "Location: $url" ); echo "<H1>$status</H1>\n"; echo "<A HREF='$url'>$url</A>\n"; exit(); } Redirect("/original/form.html");