creating hyperlink for string from mysql
Posted
by Ahmet vardar
on Stack Overflow
See other posts from Stack Overflow
or by Ahmet vardar
Published on 2010-05-03T00:42:28Z
Indexed on
2010/05/03
0:48 UTC
Read the original article
Hit count: 732
php
Hi,
when i fetch data from mysql, how can i make it auto. create hyperlink for string starting with http:// or www ?
for example:
$str = $info['row'];
echo $str;
outputs -> http://www.facebook.com
normally it doesnt create link when i echo it.
any help?
© Stack Overflow or respective owner