tsm1248 Posted January 30, 2011 Share Posted January 30, 2011 OK so i have a textfield and i have everything going to the database and then displaying on the page. Now is there a way to display code on the page but disable it from executing? There are some break tags in there so i would still like them to be executed on the page. Quote Link to comment https://forums.phpfreaks.com/topic/226114-limit-user-input/ Share on other sites More sharing options...
sasa Posted January 30, 2011 Share Posted January 30, 2011 use htmlentities function http://php.net/manual/en/function.htmlentities.php Quote Link to comment https://forums.phpfreaks.com/topic/226114-limit-user-input/#findComment-1167249 Share on other sites More sharing options...
tsm1248 Posted January 30, 2011 Author Share Posted January 30, 2011 OO nvm u da best i f@c$ing love you Quote Link to comment https://forums.phpfreaks.com/topic/226114-limit-user-input/#findComment-1167254 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.