a URL ending with something like portal.php?key2=hello
how can I get the value of "key2"?
$_GET['key2']
will get you the value from a query string.
$_POST['key2']
will get you the value from a form posted.
$_REQUEST['key2']
will get you either of the above if it exists.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With