Welcome Guest, Not a member yet? Register   Sign In
strip_tags Validation
#2

[eluser]deand[/eluser]
Hi Kemik,

Actually, you should be able to do it by just by adding it to the rules. From the CodeIgniter's user guide:
Quote:Any native PHP function that accepts one parameter can be used as a rule, like htmlspecialchars, trim, MD5, etc.
.

strip_tags() can accept one parameter. The only problem is that you can't specify which tags you don't want to strip, with only one paramter.

I'm not sure I understood you correctly. I hope it helps.


Messages In This Thread
strip_tags Validation - by El Forum - 08-13-2007, 10:08 AM
strip_tags Validation - by El Forum - 08-13-2007, 10:21 AM
strip_tags Validation - by El Forum - 08-13-2007, 12:36 PM
strip_tags Validation - by El Forum - 08-13-2007, 04:05 PM
strip_tags Validation - by El Forum - 08-13-2007, 04:09 PM
strip_tags Validation - by El Forum - 08-13-2007, 04:19 PM
strip_tags Validation - by El Forum - 08-13-2007, 04:34 PM
strip_tags Validation - by El Forum - 08-13-2007, 05:33 PM



Theme © iAndrew 2016 - Forum software by © MyBB