As I continue to learn HTML and PHP there is one thing I'd just do not understand. You create a <form>, build the various input types, 'text', 'password', etc and usually a 'submit' type. Then you build another input type of 'hidden', with accompanying name and value attributes.
In the PHP code you then issue an if (isset($_POST['name attribute'])), which checks the name attribute of the hidden type.
Why use the hidden attribute? You can just as easily use the name attribute of the submit type?
Also the submit button may not be passed with the form if the form is submitted without actually clicking on the button but by some other means. Only currently selected buttons are passed with the form.