coder9 Posted July 18, 2008 Share Posted July 18, 2008 hello i have this code below, $referer2 = $_SERVER['HTTP_REFERER']; <a href="<?php $referer2.?link=1 ?>"> what i want it to connect them as you can see i insert the php tag into the html tag, i tried this connection but failed? --> $referer2.?link=1 Thanks in advance. Quote Link to comment Share on other sites More sharing options...
marcus Posted July 18, 2008 Share Posted July 18, 2008 <?php $referer2 = $_SERVER['HTTP_REFERER']; echo "<a href=\"".$referer2."?link=1\">A LINK</a>"; ?> Quote Link to comment Share on other sites More sharing options...
bilis_money Posted July 18, 2008 Share Posted July 18, 2008 cool path. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.