Parse question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Would someone write me a syntax so all the web site addresses in $data turn into links

$data = âVisit our web site http://www.site.com, http://www.secondsite.org and http://www.thirdsite.info.â;;

My desired results for what I am asking for help turn $data into:

$output =âVisit our web site <a href=âhttp://www.site.comâ;>http://www.site.com</a>, <a href=âhttp://www.secondsite.orgâ;>http://www.secondsite.org</a> and <a href=âhttp://www.thirdsite.infoâ;>http://www.thirdsite.info</a>.â;

Please make provision for .net web sites as well.

Ron

The Verse of the Day
âEncouragement from Godâs Wordâ
http://www.TheVerseOfTheDay.info 

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux