Reply to Finding urls and making them hyperlinks

Your name:

Reply:


Posted by laredotornado on 11/03/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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация