$_GET doesn’t work in EE, so I used the php code below on a test page (http://parr.com/kentest/test/?z=9&t=2), but it didn’t work. Can anyone tell me why the code doesn’t work?
$z = $this->EE->input->get(‘z’);
echo “z = ” . $z;
I also tried adding index.php to the url, but that didn’t work either (http://parr.com/kentest/test/index.php?z=9&t=2). Same result when I enabled $config[‘enable_query_strings’] in the config.php file. Any idea how I can pull a parameter from the URL in EE? Note: the parameters will be generated by a website I don’t have control of.
Thanks in advance for your help.