I am trying display a link from my mysql database. I cannot get it done, It shows like this, for example www.mywebsite.com/www.google.com How can I get rid of my website url from this. this is my actual code in display.php

<tr>
    <td>&nbsp;</td><td>&nbsp;</td><td align="right"  valign="top"><b>Full Text Link             :</b></td>
    <td align="left"  valign="top"><?php echo"<a href=$FULTEXT target='_new'>$FULTEXT</a>"; ?></td>

</tr>

please help me

thank you verymuch

Try using "http://" infront of the URL

<tr>
<td>&nbsp;</td><td>&nbsp;</td><td align="right" valign="top"><b>Full Text Link :</b></td>
<td align="left" valign="top"><a href='http://<?php echo $FULTEXT;?>' target='_new'><?php echo $FULTEXT;?></a></td>
</tr>

Thanks my dear. Its working. You save lot of my time. God bless you

Welcome :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.