form action php 1

form action php

// Page containing a form:

Your name :

// myaction.php Hello

Here is what the above code is Doing:
1. The first line of code is creating a form.
2. The form has two fields: name and submit.
3. The form is submitted to the page myaction.php.
4. The form uses the POST method.
5. The form contains a text field called name.
6. The form contains a submit button.
7. The second line of code is displaying the value of the name field in the browser.

Similar Posts