Notice that the FORM element has an ending (Web hosting top)
Notice that the FORM element has an ending tag and two attributes. The first attribute (action) is the recipient page address (the form processing script). The second attribute (method) is the way in which you will send the data to the recipient. There are two separate ways of sending a form to its processing script: the POST and the GET methods. The POST method (see Figure 5-3) takes the data from the form fields and sends it through an HTTP header. In this case, the data cannot be seen in the URL. Figure 5-3 The GET method gets the data from the form fields, encodes it, and adds it to the destination URL, as shown here: http://localhost/formprocess1.php?field1=valuea&field2=value%20b As you can see, the field names and their values are easy to read inside the script URL. Having the script parameters in the URL allows the user to change them manually. This can lead to errors in the script processing or access to data not originally meant to be accessed. INPUT Element The second new HTML element included here is INPUT. This is the basis of most forms and can be used in many different ways to gather many different types of information. In this case, you use two different types of INPUT: the text and submit types. Here s the INPUT TEXT type: The INPUT text type is a standard, single-line text box. As with all form controls, it needs a name so that the processing script can access its content using the following syntax: 139 Form Elements: Letting the User Work with Data
Note: In case you are looking for affordable and reliable webhost to host and run your business application check Vision php5 hosting services