DamienRoche Posted September 9, 2008 Share Posted September 9, 2008 So how do I print html using php..ya know, so it doesn't function as html, just prints it. like: echo "<div></div>"; And make it print: <div></div> WITHOUT any other characters. Just pure, simple, copy and paste html. Thanks. Link to comment https://forums.phpfreaks.com/topic/123416-solved-insanely-simple-yet-i-cant-find-the-answer/ Share on other sites More sharing options...
Minase Posted September 9, 2008 Share Posted September 9, 2008 //edit wrong thread //edit for your problem htmlentities($string); Link to comment https://forums.phpfreaks.com/topic/123416-solved-insanely-simple-yet-i-cant-find-the-answer/#findComment-637399 Share on other sites More sharing options...
DamienRoche Posted September 9, 2008 Author Share Posted September 9, 2008 Thanks for coming back Minase..sorted Link to comment https://forums.phpfreaks.com/topic/123416-solved-insanely-simple-yet-i-cant-find-the-answer/#findComment-637405 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.