phpbeginner Posted March 8, 2007 Share Posted March 8, 2007 Hi all you gurus !! Quick question...... I have a basic CMS system and the client would like to insert some links in the text area. What would you recommend the best way to do this in a textarea box ? There may be several hyperlinks in 1 textarea and some may have none at all. I assume this would be some sort of javascript code or is there an easier way. Thanks in Advance. Link to comment https://forums.phpfreaks.com/topic/41871-hyperlink-in-text-area/ Share on other sites More sharing options...
Barand Posted March 8, 2007 Share Posted March 8, 2007 Use BBCode like this forum does, so the user would enter something like Blah blah [link=www.google.com]Search Google[/link] blah Then you cms can convert this to <a href='www.google.com'>Search Google</a> Link to comment https://forums.phpfreaks.com/topic/41871-hyperlink-in-text-area/#findComment-203056 Share on other sites More sharing options...
phpbeginner Posted March 9, 2007 Author Share Posted March 9, 2007 Thanks Barand....I appreciate it ! Link to comment https://forums.phpfreaks.com/topic/41871-hyperlink-in-text-area/#findComment-203060 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.