PowersWithin Posted July 31, 2007 Share Posted July 31, 2007 I have a form for users to fill in, then when they submit it it saves it into mySQL. Then on another page it displays what the users have entered. I'm wondering how can I make it so that if users input & submit HTML/php tags it will print it out as just normal text? Thanks for your time. Link to comment https://forums.phpfreaks.com/topic/62748-solved-filtering-user-input-n00b-question/ Share on other sites More sharing options...
chombone Posted July 31, 2007 Share Posted July 31, 2007 try looking up the strip_tags function Link to comment https://forums.phpfreaks.com/topic/62748-solved-filtering-user-input-n00b-question/#findComment-312307 Share on other sites More sharing options...
PowersWithin Posted July 31, 2007 Author Share Posted July 31, 2007 Thanks, that's exactly what I needed Link to comment https://forums.phpfreaks.com/topic/62748-solved-filtering-user-input-n00b-question/#findComment-312313 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.