RE: [PHP] Form Processing Question
| From: | Mark Douglas | Date: | Fri, 11 Apr 2003 21:52:29 +0000 |
| Subject: | RE: [PHP] Form Processing Question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-143581@lists.php.net to get a copy of this message | ||
If your submision form doesn't output anything, or if you can do all your
processing before any output is generated, you can use header() with the
Location: header to redirect. Lots of examples at
php.net/header
Mark
-----Original Message-----
From: Mike Barlow [mailto:mbarlow@starfield.homeip.net]
Sent: Friday, April 11, 2003 5:51 PM
To: php-general@lists.php.net
Subject: [PHP] Form Processing Question
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.
Thanks
Mike
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php