What is the diffrence between GET,POST and REQUEST Method.
Answer Posted / minaz
$_GET retrieves variables from the querystring, or your URL.
$_POST retrieves variables from a POST method, such as
(generally) forms.
$_REQUEST is a merging of $_GET and $_POST where $_POST
overrides $_GET. Good to use $_REQUEST on self refrential
forms for validations.
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
How would you determine the size of a file in php?
What is baseurl?
What are different types of Print Functions available in PHP?
Which software is best for php?
What is difference between required and require_once in php?
How to remove all duplicate values in array in php?
What is Type hinting in PHP?
What is php array function?
What is sql injection in php?
How could I install codeignitor ?
How do I display php errors?
What is $this in php?
What is default session time and path in PHP. How to change it?
What is the best php framework 2018?
What is the use of inner join in mysql?