Try it:
$model->findById($id);
or
$model->find('first', array('conditions' => array('id' => $id)));
or
$model->find(array('conditions' => array('id' => $id)));[]'s On Jan 23, 2008 2:39 PM, Samuel DeVore <[EMAIL PROTECTED]> wrote: > > For future reference, pasting a lot of code in a list serve message is > kind of ugly, if you would like to make me happier (really just being > selfish here) use a pasting service that preserves formatting and also > lets you add comments like > > http://bin.cakephp.org/ > > or if you don't like cake > > http://pastie.textmate.org/ (which you can use from TextMate directly > if you use that little slice of goodness) > > or one of the many other ones. Really makes you look better to me. > > Sam D > > > > -- Renan Gonçalves - Web Developer Cell Phone: +55 (11) 8633-6018 MSN: [EMAIL PROTECTED] Web Site: renangoncalves.com São Paulo - SP/Brazil --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
