Junior PHP Developer Question:
Explain me what is the importance of "method" attribute in a html form?

Answer:
"method" attribute determines how to send the form-data into the server. There are two methods, get and post. The default method is get. This sends the form information by appending it on the URL. Information sent from a form with the POST method is invisible to others and has no limits on the amount of information to send.
Previous Question | Next Question |
Tell me what is the use of explode() function? | Tell me what are the different types of errors in PHP? |