dcparham Posted March 2, 2009 Share Posted March 2, 2009 i installed FCKEDITOR/a pretty simple install, and now it formats text using rtf controls, then submits the form data into a database replete with the appropriate HTML tags; yet when i output that same data into my html page, it displays WITH the html tags, NOT as html itself. i feel like i am just overlooking something basic - thank you very much for your help!! {CODE} <div id="contentMain"> <br /><strong>Day to Day - Message from Management:</strong><br /><br /> <p><?php echo $message;?></p> </div> Link to comment https://forums.phpfreaks.com/topic/147645-outputting-rich-text-format-html/ Share on other sites More sharing options...
dcparham Posted March 2, 2009 Author Share Posted March 2, 2009 [repeat post; accidentally posted last time, not including some code] i installed FCKEDITOR/a pretty simple install, and now it formats text using rtf controls, then submits the form data into a database replete with the appropriate HTML tags; yet when i output that same data into my html page, it displays WITH the html tags, NOT as html itself. i feel like i am just overlooking something basic - thank you very much for your help!! this is generated and put into variable $message: <p>HELLO! During the upcoming Summer months, here are a few tips we can all use with regards to Fire, and Water Safety:</p> <ol> <li>When grilling keep the gasoline away from the grill. Getting 3rd degree burns on you will not make the burgers taste any better.</li> <li>Do not ski in swampy areas where stumps can maim you, destroy your boat, or alligators can eat you.</li> </ol> ======== {CODE USED TO DISPLAY} <div id="contentMain"> <br /><strong>Day to Day - Message from Management:</strong><br /><br /> <p><?php echo $message;?></p> </div> Link to comment https://forums.phpfreaks.com/topic/147645-outputting-rich-text-format-html/#findComment-775078 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.