warnockm Posted June 1, 2006 Share Posted June 1, 2006 Does anyone have any code to search through text for a link, then add html around it to make it clickable? Should input text and output the same text w/ html links.thanks! Quote Link to comment https://forums.phpfreaks.com/topic/10974-add-html-to-text-link/ Share on other sites More sharing options...
Caesar Posted June 1, 2006 Share Posted June 1, 2006 You want to possibly look into preg_match() and preg_replace(). Quote Link to comment https://forums.phpfreaks.com/topic/10974-add-html-to-text-link/#findComment-40991 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.