PHP form submit
PHP form submit
Out of context: Reply #2
- Started
- Last post
- 2 Responses
- mike0
8dot3, before your page beings do some checking for $_POST so you can see what state the page or form is in. On post, do your error handling, if all checks out then complete your action and set a flag to indicate the new state of the page. then in your page you can optinally display either the form or the confirmation. make sense?
[page header] -> php code and error handling
[html page] conditional switch on form and activity status