Advertisements
Advertisements
Question
Write the purpose Get method and Post method.
Solution
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 a query string. All input data are visible by a user after they clicks the submit button.
APPEARS IN
RELATED QUESTIONS
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.
In which input field only one option Can be selected?
In HTML form <input type=”text”> is used to ______.
Which attribute of form tag helps in client-side validation?
PHP is a ______ programming language.
What does fopen() function do in PHP?
Write Syntax of Text box in HTML,
Write the features Form Handling.
Discuss in detail about HTML form controls.
Customer Analytics firm needs to design a survey form as shown below:
Write suitable HTML code to design it.