I am using loadModel in my Project as described here:
http://book.cakephp.org/view/845/loadModel
$this->loadModel('User', 2);
$user = $this->User->read();
But if give the function an id, nothing happens. The above code
results always the first user in the database.
do I have to configure something special, so that the id parameter
works?
thanks
--
You received this message because you are subscribed to the Google Groups
"CakePHP" 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=.