I guess I should preface this by saying I am using the methodology of creating static HTML pages and sprinkling in PHP code as necessary. I know this may be considered Bad Practice, but I like using Dreamweaver templates and laying out my screens in a WYSIWYG editor.
So, using this methodogy, how does one load a specific page based on the results of a form?
Take, for example, a customer login screen. When the form is submitted, one of several pages might be presented to the user: an entry form if this is a new user, the desired page if the login is successful, the login form again (with an error message) if the e-mail can't be found or the password is bad, or an acknowledgement page if the customer requests the password be e-mailed to them.
Any feedback on my this subject would be appreciated.