ashok_bam Posted December 6, 2006 Share Posted December 6, 2006 I am trying a lot for the hyperlink.echo "<a href=\"$crow1[0]\" target=blank>$crow1[0]</a>";orecho "<a href=\"results.nic.in" target=blank>results.nic.in</a>";in this case i am getting the url like http://localhost/.../../results.nic.in.but i want to connect to the actual site ie. results.nic.incould any one plz help me? Link to comment https://forums.phpfreaks.com/topic/29633-resolved-hyperlink/ Share on other sites More sharing options...
The Little Guy Posted December 6, 2006 Share Posted December 6, 2006 [code]echo '<a href="'.$crow1[0].'" target="_blank">'.$crow1[0].'</a>';[/code] Link to comment https://forums.phpfreaks.com/topic/29633-resolved-hyperlink/#findComment-135997 Share on other sites More sharing options...
ashok_bam Posted December 6, 2006 Author Share Posted December 6, 2006 Thanks for your replybut till now i am getting the same result Link to comment https://forums.phpfreaks.com/topic/29633-resolved-hyperlink/#findComment-136033 Share on other sites More sharing options...
trq Posted December 6, 2006 Share Posted December 6, 2006 [code=php:0]echo '<a href="http://'.$crow1[0].'" target="_blank">'.$crow1[0].'</a>';[/code] Link to comment https://forums.phpfreaks.com/topic/29633-resolved-hyperlink/#findComment-136048 Share on other sites More sharing options...
ashok_bam Posted December 6, 2006 Author Share Posted December 6, 2006 Thanks a lot. Its works fineThank you very much Link to comment https://forums.phpfreaks.com/topic/29633-resolved-hyperlink/#findComment-136053 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.