Using PHP to check if a form has been submitted
The 'if' condition in this PHP script is place in the same page as the html form and is located at the top of the page, above the form. The purpose is to verify the inputs of the form. Example of uses include the Login Page.
if (isset($_POST['submit'])) {
//run this code when the submit button is activated, name the button submit
}
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home