Posted by laredotornado on 11/01/86 11:32
Hello,
I want to take a block of text and add html tags to make hyperlinks
where hyperlink strings exist. So, if I have a variable
$a = "This is http://www.yahoo.com"
I would like to run that through a function such that the value of $a
is
"This is <a href='http://www.yahoo.com'>http://www.yahoo.com</a>"
How can I do this? Any help is greatly appreciated. I am using PHP 4.
Thanks, - Dave
Navigation:
[Reply to this message]
|