Links for php scripts
2 posts • Page 1 of 1
As a fellow beginner programmer, I have just begun to realize the power of $_POST. It is really great when you can make it work. If you get a true on empty($_POST) then the user has not yet submitted the form. To refer to the post you have to keep in mind it is an array. In your case, I think you will want to deal with the variable $_POST["submit"] for evaluation. Also, I have found it useful to include the command print_r($_POST); at the beginning of my scripts during development to output the available variables.