godsent Posted December 23, 2008 Share Posted December 23, 2008 I made a page with private messages. The problem is that its do not show the full message if i use HTML tags, what I'm trying to say is that if sender use HTML code's like: <meta http-equiv="Refresh" content="5; url=http://www.google.com"> The code won't show, but effect works, and still redirects message reader. How can i make that it prints "<meta http-equiv="Refresh" content="5; url=http://www.google.com">" (in this case), and do not do HTML function. Quote Link to comment https://forums.phpfreaks.com/topic/138190-php-sql-help/ Share on other sites More sharing options...
wildteen88 Posted December 23, 2008 Share Posted December 23, 2008 htmlentities or htmlspecialchars Quote Link to comment https://forums.phpfreaks.com/topic/138190-php-sql-help/#findComment-722458 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.