[support] Using check_markup and check_plain

Vaibhav Jain in.vaibhavjain at gmail.com
Wed Sep 26 06:12:22 UTC 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20120926/984516f7/attachment.html 


More information about the support mailing list