Posted by peebrain on 06/25/05 04:47
Gary L. Burnore wrote:
> On Sat, 25 Jun 2005 00:43:29 +0100, Geoff Berrow
> <blthecat@ckdog.co.uk> wrote:
>
>
>>I noticed that Message-ID: <bJ0ve.98809$on1.49016@clgrps13> from
>>peebrain contained the following:
>>
>>
>>>My problem though is if form
>>>validation fails on "page 2.php" (where the form data was submitted and
>>>the validation performed), how do I return the user to "page1.php" to
>>>try again?
>>
>>You could always tell them to press the back button.
>
>
> Or:
>
> if (whatever determines failure) {
>
> echo "<META HTTP-EQUIV=\"refresh\" CONTENT=\"0 ;URL=\"page1.php\">";
> echo $Refresh;
>
> }
>
>
This is also a good one. Thanx Gary. This or the header() function
mentioned by Ken will both accomplish the redirect.
Navigation:
[Reply to this message]
|