I can't for the life of me figure out why my attempts at using $_GET are not working. As near as I can tell, I'm using it correctly, as I've used it in the past.
The link seems to be formatted correctly
<a href="script.php?variable=value">Value</a> since I receive the correct information in the URL:
localhost.com/script.php?variable=value but neither simply using:
$var = $_GET['variable']; or using either of these two:
if (!isset($_GET['variable'])) { $var = $_GET['variable']; } if (isset($_GET['variable'])) { $var = $_GET['variable']; } nothing I do seems to be working, does anyone have any suggestions as to what to look out for?
var_dump($_GET);$_REQUEST['variable']?short_open_tagdisabled?