I am experiencing problems with the mail function.
All I want to do is print a url with an appended query string at the bottom of the message. Unfortunately, for some reasons I don't know, something really strange happens:
given a URL of the type http://www.whereever.com/blah.php?a=a&b=b
the URL printed in the mail is:
.../blah.php?a=a&b=b
In other words, in my final URL I have both the decoded and encoded & sign (&😉 with the result is that the variables contained in the query string will not be available to the blah.php script.
Any ideas? By the way, I never urlencode anything anywhere in the script generating the email.
Thanks,
S.