I don't want users to add html tags , so if I want to allow them to add links in their message I need a code.
To add a url in a message , the user would type : http://www.someurl.com
How can I change this in html tag when I output the message?
Like ,
http://www.someurl.com
would become (when user read message)
<a href= target=_blank>
How could I do that?
To add a url in a message , the user would type : http://www.someurl.com
How can I change this in html tag when I output the message?
Like ,
http://www.someurl.com
would become (when user read message)
<a href= target=_blank>
How could I do that?