enter link to chatbox
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1587480/php-str-replace-by-link">PHP: STR replace by link</a>  </p>
</blockquote>



<p>i'm trying to make a website that has a chatbox or a shoutbox.. </p>

<p>when i enter a link on the textarea, for example <a href="http://link.com/" rel="nofollow">http://link.com/</a> and submit it, it appears just a plain text on the chatbox, how can i make it like facebook chat any other chat that when you enter a link it will display as a link with the underline that you can click.. and i don't know how to do it..</p>
