Automatic Text to Links?
Posted: Tue Sep 10, 2002 8:32 pm
hi,
how can i turn all the urls/website addresses in $block_from_db into clickble links?
like this forum turns any link into a clickble link, .e.g. http://www.somesite.com
i have no idea how to do it, i have searched quite alot of places but have't found anything for this.
please help
how can i turn all the urls/website addresses in $block_from_db into clickble links?
Code: Select all
<?php $block_from_db = "today www.site.com had blah blah with www.site-com.com";
print("$block_from_db");?>i have no idea how to do it, i have searched quite alot of places but have't found anything for this.
please help