PHP - Superglobals and Web Context
What does the PHP
$_GET superglobal do?$_GET superglobal do?$_GET$_GET is used to get data sent through the URL query string, which comes after the question mark.$_POST is for form data sent via POST, sessions are stored in $_SESSION, and database connections use other functions.$_GET reads URL parameters [OK]$_GET reads URL after '?' [OK]$_GET with $_POST$_GET stores session data$_GET connects to databases15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions