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. 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 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 Link to comment https://forums.phpfreaks.com/topic/226114-limit-user-input/#findComment-1167254 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.