Re: Re: How to structure code for forms
| From: | Roland Häder | Date: | Sun, 08 Jun 2008 20:46:30 +0000 |
| Subject: | Re: Re: How to structure code for forms | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-275124@lists.php.net to get a copy of this message | ||
Hi,
On Sunday, 8. June 2008, Manuel Lemos wrote:
> Hello,
>
> on 06/08/2008 08:01 AM Ethan Whitt said the following:
> > I am new to PHP and have been researching ways to structure code for
> > forms. I have found a
> > few basic tutorials that present, validate & present errors, and then
> > process form data. I was
> > wondering if anyone could share their approach on how they structure
> > these actions? Ideally,
> > I would like to separate each action in separate functions. Thanks in
> > advance...
Maybe this gives you an idea:
http://www.ship-simu.org/repos/ship-simu/trunk/application/ship-simu/templates/de/code/register.ctp
Please keep in mind that my software is GNU GPL 3. :)
Roland
Attachment: [application/pgp-signature] This is a digitally signed message part. signature.asc
Attachment: [application/pgp-signature] This is a digitally signed message part. signature.asc