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. Link to comment https://forums.phpfreaks.com/topic/115372-how-to-connect-this-path/ 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>"; ?> Link to comment https://forums.phpfreaks.com/topic/115372-how-to-connect-this-path/#findComment-593142 Share on other sites More sharing options...
bilis_money Posted July 18, 2008 Share Posted July 18, 2008 cool path. Link to comment https://forums.phpfreaks.com/topic/115372-how-to-connect-this-path/#findComment-593336 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.