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
advice on "create a form" script
Moderator: General Moderators
- Lord Sauron
- Forum Commoner
- Posts: 85
- Joined: Tue Apr 20, 2004 5:53 am
- Location: Tilburg, NL
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.
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.