Re: Forms??
| From: | Manuel Lemos | Date: | Sat, 28 Oct 2000 17:29:02 +0000 |
| Subject: | Re: Forms?? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-22462@lists.php.net to get a copy of this message | ||
Hello Ivanoff,
On 18-Oct-00 03:20:39, you wrote:
>I have some questions about forms:
>1. Is there any good tutorials about handling forms with PHP?
>2. Which is the best way of handling forms? A normal html file or within a
>PHP script?
>3. How do I redirect the output of the form to an other frame?
>/Jari Ivanoff
I think the best way to handle forms is use the same script to output,
validate and process them. This way, if the form fields are not valid, you
only have to display the form again denoting which fields the user needs to
correct.
You may want to try this PHP form generation and validation class and the
examples to see how that can be done:
http://phpclasses.UpperDesign.com/browse.html/package/1
Regards,
Manuel Lemos
Web Programming Components using PHP Classes.
Look at: http://phpclasses.UpperDesign.com/?user=mlemos@acm.org
--
E-mail: mlemos@acm.org
URL: http://www.mlemos.e-na.net/
PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp
--