Hello All,

I am using D6, want to use check_plain and check_markup functions.
What is the best time to use these functions and why ?
Should they be used before data is saved to DB
OR
Just before the data is rendered.

I am trying to use both the functions on the same piece of text, firstly escape with check_plain and then implement check_markup to implement few set of filters.

Please advice.

--
Regards,
Vaibhav Jain