The recommended approach to querying is to use Model methods like
findAll, and build your conditions with arrays, i.e.:
$this->Post->findAll(array("title" => "Test"));
As far as other types of querys, like INSERTs and UPDATEs, Cake
automatically escapes column names and values without any additional
telling it what to do.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---