I want to extract a link from a string for example:
If someone writes,
Hi, checkout my website http://www.ask.com which is fantastic.
Now this above is a string, which i am storing in MySQL database but i want to convert http://www.ask.com into a link so that when i click on it, it should link to this website.
I am using PHP and MySQL.
On my website, for example, when I get a feedback, sometimes people write their website links, so when I view them, i have to copy and paste the link into the browser as I am not able to click on this string, instead when i view the feedbacks, i should be able to click on the links.
So how do i convert this part of the string into a link?
2006-07-05
08:11:23
·
7 answers
·
asked by
Manish
5
in
Programming & Design