>Just wanting some advice on something im doing, basically im storing
>news into mysql and what i want to do is, when the news is displayed, if
>a url is in there ie(http://www.blahblah.com OR
>mailto:[EMAIL PROTECTED]) it will automatically be displayed as a link,
>im considering using preg_match for this but i was wondering if there is
>any other function already designed for automatically detecting urls? 

No built-in function, but only a zillion examples in various code archives.

http://php.net/links.php

-- 
Like Music?  http://l-i-e.com/artists.htm


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to