I've always coded the form and response in two separate files. Recently, I picked up a PHP book that said it would be better to put them both in the same file. I actually find this confusing as I tend to mix up the form generation code with the validation code. Probably a hangover from my asp days.
As I'm the only PHP coder in my group, I've got nobody to ask. Which is the preferred technique: form and response together or separately?
As I'm the only PHP coder in my group, I've got nobody to ask. Which is the preferred technique: form and response together or separately?