New server request form

broken image

The element's name attribute ( name='unique-name-here' ) value is used by PHP as key to enable access to the data value of the specified form field element when you submit the form. Setting access keys for the form data by using the element's name attribute Note: By default, if no method is specified, the GET method is used. Method Attributes: specifies what type of method the form will use to send the data. If no script file location is specified, the browser submits the form by using the current PHP script file location ( the self-script in which the form is being called ).

broken image
broken image

These two form attributes are:Īction Attributes: specifies the PHP script file location for processing when it is submitted. To set up a form for server processing and data retrieval, two important form attributes that controls how the form data is processed whenever it is submitted must be specified. In this tutorial, we're going to walk you through on how to access or retrieve form data with PHP, and show you the different methods that can be used.

broken image

HTML form data can be retrieved and processed in many different ways, for example

broken image