Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Data Integration / February 2008



Tip: Looking for answers? Try searching our database.

PHP Regular Expression of URL in text

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Toad78 - 28 Feb 2008 04:31 GMT
I have some text that is displaying from a database table and inside
that text is a web address (i.e., http://www.whateverthisaddressis.com).

I'd like to know if anyone has a code out there to where php can find
text with a http:// or www. and change it into a link automatically. I
know there's many out there, but I don't have a clue what I'm looking at
and where to put it.

Any help would be greatly appreciated!

Toad78
Raymond Basque - 28 Feb 2008 13:55 GMT
You might find something here:

http://ca3.php.net/preg_replace
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.