I want to send a couple of form fields as a POST request to my PHP page, but I can\'t get it to work. Here is my code:
PHP login.php
login.php
You haven't included the name attribute in your html input elements. name attribute is used when passing form information to the webserver. id is primarily used for javascript based manipulation.
name
id
Username Password