page: << | 1 | 2 | 3 | >>

everyone's bookmarks

filtered by:










save

Retrieving Your Data — CakePHP Cookbook 2.x documentation

Prepared Statements
Should you need even more control over your queries, you can make use of prepared statements. This allows you to talk directly to the database driver and send any custom query you like:

$db = $this->getDataSource();
$db->fetchAll(
'SELECT * from users where username = ? AND password = ?',
array('jhon',...
saved on 10-10-2014 at 2:57pm ct







page: << | 1 | 2 | 3 | >>
(17492)

everyone's tags