I am trying to retrieve a get variable passed in a form to another page, but it inserts a second ? after the template, which throws it out. If i manually edit the ? for an & it works fine.
This test is using the LG.htaccess, but tested with and out has the same results.
http://mysite.com/results/&amount=67
<?php echo $_GET['amount']; ?>This works fine
http://mysite.com/results/?amount=67
<?php echo $_GET['amount']; ?>This creates an error
otice: Undefined index: amount in /var/www/web55/web/system/core/core.functions.php(634) : eval()'d code on line 1How can I post the form data without the adding a ‘?’ ?
Thanks in advance i am sure this is stupidly easy 😊