Advertisements
Advertisements
प्रश्न
Explain Form Handling methods.
संक्षेप में उत्तर
उत्तर
- When the user keying the input data in HTML controls and clicks the submit button the request will be generated and reaches a PHP file which is mentioned in the FORM tag under the Action attribute.
- All input values are synchronized and sent to the server via POST method or GET method.
- Method is an attribute form tag in HTML. Once the data reaches the server, two PHP variables such as $_POST and $_GET collects the data and prepares the response accordingly.
- Post Method:
- The input data sent to the server with POST method is stored in the request body of the client’s HTTP request.
- Get Method:
- The input data sent to the server with POST method via URL address is known as the query string.
- All input data are visible by a user after they clicks the submit button.
shaalaa.com
HTML Forms
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
APPEARS IN
संबंधित प्रश्न
Discuss the following and Answer the question.
A Jr. web designer wants to design a webpage to enter the employee name, address. He needs a button to clear the form content and submit the data.
- Write the different controls he will use to create the web page.
- State the tags to be used for the controls.
When you use the $_GET variable to collect data, the data is visible to ______.
______ method stores the input data in the request body of the clients HTTP request.
The no. of parameters used by fclose() function.
What does fopen() function do in PHP?
List out HTML control to support PHP language.
What is a HTML form?
Write the features Form Handling.
Write the purpose Get method and Post method.
Differentiate Get and Post Method.