adisonz Posted July 30, 2006 Share Posted July 30, 2006 My forms include <textarea> to allow members to key in their address but one thing they can key in HTML tags to change settings. how do i detect those HTML tags but address should have magical quotes so that how can i fulfill both side ? Quote Link to comment https://forums.phpfreaks.com/topic/15993-help-on-php-pettern-matching-pattern-detecting-html-tags/ Share on other sites More sharing options...
lordphate Posted July 30, 2006 Share Posted July 30, 2006 I use addslash? Or am i thinking of a wrong type of thing? Quote Link to comment https://forums.phpfreaks.com/topic/15993-help-on-php-pettern-matching-pattern-detecting-html-tags/#findComment-65725 Share on other sites More sharing options...
effigy Posted July 30, 2006 Share Posted July 30, 2006 strip_tags + MySQL's real_escape_string. Quote Link to comment https://forums.phpfreaks.com/topic/15993-help-on-php-pettern-matching-pattern-detecting-html-tags/#findComment-65999 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.