I'm starting to write webboard using PHP. I use the FROM tag in HTML for visitor to post. My problem is when visitor is posting a comment in term to link (www.phpbuilder.com) how can I show it this is a link. I use <INPUT TYPE=TEXT> and <TEXTAREA> in my form.
Thanks, Ton.
This is some code that i used in one of my scripts
$the_text = ereg_replace("(http://[^ <\n]{1,})", "<a href=\1>\1</a>", $the_text);
The links gotta start with http:// in order to work...
Andreas
I got it!
Thanks Andreas Bernhardsen for your help.