Sr. PHP Programmer Question:
Download Questions PDF

What is the importance of "method" attribute in a html form?

Senior PHP Programmer Interview Question
Senior PHP Programmer Interview Question

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.

Download Senior PHP Programmer Interview Questions And Answers PDF

Previous QuestionNext Question
What is the use of header() function in php?What is the use of "ksort" in php?