I am trying to create a email a friend script and I have encurtered a problem. The url link does not work in the <a href tag howver when i echo the variable it works the following is the code
<h2>Email this page to a friend</h2>
<form id="form1" name="form1" method="post" action="">
Complete the details below to send a link to the page:<br>
<? $refurl = $_SERVER['HTTP_REFERER']; ?>
<? print $refurl;?>
<a href="$refurl"><? print $refurl;?></a>
thanks in advance
the link comes up but when it is clicked on it doesn't know where to go