What the difference with POST and REQUEST? Does it recommend if I plan to submit the whole form without the need to write parameters?
link.php?param=1¶m=2¶m=3
What the difference with POST and REQUEST? Does it recommend if I plan to submit the whole form without the need to write parameters?
link.php?param=1¶m=2¶m=3
$_REQUEST includes $_COOKIE, $_GET and $_POST.
If you know the type of your request, you are best to use $_GET or $_POST.
$_POST
contains POST data, while $_REQUEST
contains POST, query string and cookie data.
Use the specific superglobal as that way you only get data from where you expect.