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 do you identify independent and dependent variables in research?
What is the purpose of using php?
What is Type hinting in PHP?
What beforeFilter() is used?
What is member function?
Explain the installation of PHP on UNIX systems?
How many types of array are there in php?
Tell me what is the meaning of a final class and a final method?
What is query string php?
What are sql injections, how do you prevent them and what are the best practices?
What is in php 7?
What is the difference between characters and #?
Tell me what does the array operator '===' means?
How can you declare a constant variable in php?
How is it possible to parse a configuration file?