Page 1 of 1

advice on "create a form" script

Posted: Sat Mar 20, 2004 1:01 pm
by speedamp
hello,

I am starting to work on a form for my Online Registration website, and what i want is a race manager the ability to fill out a detailed online form, submit an image, and then have the results populate a php template which would then create their own onilne registration form. This form would then allow individuals to sign up for the event online (road race, etc...).

Does anybody have any advice on anything i should avoid? sessions vs. cookies vs. passing variables in headers, etc.

thanks!

-Michael

Posted: Thu Aug 26, 2004 1:21 pm
by Lord Sauron
I guess it's even more important to have a good seperation between the functions.

One script for layout (the form itself), one script for checking the variable content validity once the form has been filled up and one script for filling your database.

Personally I prefer using even a 4th (general) script for coordination and redirection, but only if you are using several forms.