I'm trying to get values from the $GET variables, but the code I'm using doesn't seem to be working. If I use
echo $_GET['variablename'];
It works, but if I use
$vartoget = 'variablename';
echo $_GET[$vartoget];
It doesn't work. I've used variables to grab variables from $_GET and $POST before, and it makes me think my host has changed something in php.ini for it to stop working. The weird thing is, if I use mysql_fetch_object, then $GET[$objname->name], it also works perfectly.
Has me kind of confused 😕