php-general | 2001062
Date: 06/20/01
- Next message: James Stevens: "[PHP] General Coding Question"
- Previous message: Andrew Chase: "RE: [PHP] image code"
- In reply to: motorpsychkill: "[PHP] bad form..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
As long as your code is well-formatted and well-commented, I don't think
it's a problem, especially for simple forms for quick DB inserts or sending
e-mail. You can do nice error handling without annoying Javascript alerts,
too; when the form is submitted you can check for missing/invalid field
values - if anything is wrong, just output the form again, but this time
prepopulate the valid fields and highlight the missing ones with red text or
a red outline.
-Andy
> -----Original Message-----
> From: motorpsychkill [mailto:ak-47 <email protected>]
> Sent: Wednesday, June 20, 2001 12:13 AM
> To: Php General List
> Subject: bad form...
>
>
> hello everyone, is it 'bad form' (no pun intended) to have a form point to
> itself for processing, rather than forward the form variables to another
> page? Anybody have any input on this? I try to have 1 page that is the
> form and handles all the processing as well in order to keep the
> page count
> on my site low and for easier editing, blah blah blah....
>
> thank you for you help!
>
>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: James Stevens: "[PHP] General Coding Question"
- Previous message: Andrew Chase: "RE: [PHP] image code"
- In reply to: motorpsychkill: "[PHP] bad form..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

