Pjack125 Posted January 27, 2009 Share Posted January 27, 2009 Is there a way to turn text to html using php? what i am trying to accomplish is to find a way to turn every time sometime types a url such as http://www.whatever.com into a hyper link. This is a bit over my head but before i give up on it i wanted to see if anyone here knew if it was doable. Link to comment https://forums.phpfreaks.com/topic/142633-text-to-html/ Share on other sites More sharing options...
premiso Posted January 27, 2009 Share Posted January 27, 2009 http://www.totallyphp.co.uk/code/convert_links_into_clickable_hyperlinks.htm Granted it uses ereg instead of preg, but it will work till PHP 6 goes into production for you. Link to comment https://forums.phpfreaks.com/topic/142633-text-to-html/#findComment-747643 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.