I have a problem with the message body part of the mail() function....
I have a link in the email to a php script, and I want to send a variable (int) along when somebody clicks on the link, like so,
$mailcontent = "<a href=http://server/~username/page.php?refvar=varibale here*>
It will then put this into a hidden field....
I have tried to put the variable name in {} and \" {} \" and on its own. When i click on the link i get " //server/~username/page.php?refvar= "...
can anyone assist?
Thanks
Ian