You are here: Re: Form Validation « PHP Programming Language « IT news, forums, messages
Re: Form Validation

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация