Thursday, October 30, 2008

Question about Data Sanitation in CAKEPHP

Hi
I would use a systematic method to clean data to insert in DB.
I think to use Sanitize::clean function in beforeSave().
Now my question :
When I do a research in DB (for example with find) If I don't apply
the Sanitize::clean function to the value inside the conditions I
don't get the right values.How can I do it?
Many Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: