[EMAIL PROTECTED] wrote: > > Hi there, > > I have a table "users", in which 2 persons have the name "moore". > How could I list those two sets of data in cakePHP? > > I'm looking for something equivalent to: > > SELECT * FROM users WHERE name="moore";
I don't think I understood you right, but if so, maybe you are looking
for something like this in your controller method
$this->User->findAll(array("name"=>"moore"));
Bye
Davide
--
By the power of Greyskull...
signature.asc
Description: OpenPGP digital signature
