Re: Parse question

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

 



On Jan 21, 2011, at 6:52 PM, Ron Piggott wrote:



  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 


"Would someone write me a syntax" hummm...

If you need help, we can do that, but if you want someone to write it for you, go here:

http://www.google.com/#sclient=psy&hl=en&site=&source=hp&q=hire+freelance+PHP+web+developer&aq=f&aqi=&aql=&oq=&pbx=1&fp=d87fcfdb2e6b7745

===

Now that I have seen some examples I will work on this and may ask a specific question tomorrow.  I know how to program in PHP --- I am just not strong in the string manipulation commands.  Thanks for these valuable links.  Ron 

[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