I’m trying to send a variable through the URL and then utilize it in my EE template. I have a link on my site linking to:
http://mydomain.com/quote?id=2
and then in my quote template, I have the following code:
<?php echo $_GET["id"]; ?>
I’m receiving the following error: Notice: Undefined index: id when I go the above mentioned URL. After googling around, I found this link for $_GET/$_POST for EE 1 (http://expressionengine.com/legacy_docs/development/usage/input.html) and tried this:
global $IN;
echo $IN->GBL('id');but it still doesn’t work. Thanks in advance if anyone can help me out!