Welcome Guest, Not a member yet? Register   Sign In
Why HTMLPurifier does not work in inktype
#9

[eluser]Developer13[/eluser]
Okay - I think I'm a little confused here with what you're actually trying to do.

Are you trying to:

A) Purify the comments that are being saved into the system?
B) Purify the results of the select query

If the answer is "A", your code should be in the save() function and not the get() function.

If the answer is "B", then you'll have to loop through the results after they have been retrieved by the get() function.

It's giving you that error because at the time you use that line of code, $comment has not been declared or defined.


Messages In This Thread
Why HTMLPurifier does not work in inktype - by El Forum - 12-19-2007, 02:02 AM
Why HTMLPurifier does not work in inktype - by El Forum - 12-19-2007, 04:54 PM
Why HTMLPurifier does not work in inktype - by El Forum - 12-19-2007, 05:45 PM
Why HTMLPurifier does not work in inktype - by El Forum - 12-19-2007, 08:05 PM
Why HTMLPurifier does not work in inktype - by El Forum - 12-19-2007, 08:08 PM
Why HTMLPurifier does not work in inktype - by El Forum - 12-19-2007, 11:57 PM
Why HTMLPurifier does not work in inktype - by El Forum - 12-20-2007, 08:09 AM
Why HTMLPurifier does not work in inktype - by El Forum - 12-20-2007, 10:14 AM
Why HTMLPurifier does not work in inktype - by El Forum - 12-20-2007, 10:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB