Re: Form Processing Question

From: Date: Fri, 11 Apr 2003 22:18:31 +0000
Subject: Re: Form Processing Question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-143582@lists.php.net to get a copy of this message
On Fri, 11 Apr 2003, Mike Barlow wrote: > I have form which is processed by a php script. The script verifys the > info on in the form and if all is okay writes the info to a database. > How do I make the form reappear and write and error message to the page > if the checks fail on the data. Just push in the proper direction would > be helpful. Consider putting the form in its own include and while processing if an error exists do something and include the form again. This way you'll have access to all good and bad values for the user. Regards, Philip

« previous php.general (#143582) next »