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? Quote Link to comment 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] Quote Link to comment 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 Quote Link to comment 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] Quote Link to comment 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 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.