Gabriel Peugnet wrote:

Does some body knows if there is a function that adds tags to a string when
it is an email or a web address?

I want to convert
    [EMAIL PROTECTED]
into
    (a href='mailto:[EMAIL PROTECTED]') [EMAIL PROTECTED] (/a)

(I sustitued tags with parenthesis)

http://www.php.net/manual/en/function.preg-replace.php

--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com

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



Reply via email to