English
Tamil Nadu Board of Secondary EducationHSC Science Class 12

Explain Form Handling methods. - Computer Applications

Advertisements
Advertisements

Question

Explain Form Handling methods.

Answer in Brief

Solution

  1. 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.
  2. All input values are synchronized and sent to the server via POST method or GET method.
  3. 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:
  1. The input data sent to the server with POST method is stored in the request body of the client’s HTTP request.
  • Get Method:
  1. The input data sent to the server with POST method via URL address is known as the query string.
  2. All input data are visible by a user after they clicks the submit button.
shaalaa.com
HTML Forms
  Is there an error in this question or solution?
Chapter 8: Forms and Files - Evaluation - PART – IV [Page 125]

APPEARS IN

Samacheer Kalvi Computer Applications [English] Class 12 TN Board
Chapter 8 Forms and Files
Evaluation - PART – IV | Q 1. | Page 125
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×