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
Is it difficult to learn php?
What is the functionality of md5 function in php?
Why do we need abstract class in php?
Which cryptographic extension provide generation and verification of digital signatures?
What is the use of token in php?
Tell me what is the use of the function htmlentities?
Explain the ternary conditional operator in php?
What is polymorphism in php?
What does it mean when it says the csrf token is invalid?
Define about declare construct?
What is php explain?
How we get ip address of client, previous reference page etc?
What is the difference between print() and echo()?
What is $globals php?
Tell us how to redirect a page in php?