cincin - 8:43 pm on Aug 3, 2013 (gmt 0)
Hi! Thanks for the help, I think the urlencode is only applied to the $error variable:
'&error=' . urlencode($error)
The trouble is with the '&error=' part, it ends up being &error= in the URL once it's in the address bar.
I guess my main question is now: How to do I pass the & in '&error=' so that it ends up being &error= in the address bar? (and not &error=)