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
Explain what does $_server means?
What is print_r?
What is isset post?
What is slim framework?
Write a program in php to find the occurrence of a word in a string?
Explain the difference between static and dynamic websites?
Describe which programming language does php parallel to?
Why laravel is best php framework?
What is the difference between javascript and php?
Are there regular expressions in php?
What is "print" in php?
What are the new features in php 7?
How to use http headers inside php?
What is the static variable in function useful for?
What is meant by pdo in php?