$this->User->findAll("User.firstname = 'Daniel' OR User.firstname = 'Hugo'");
$this->User->findAll(array('or' => array("User.firstname" => 'Daniel'), array("User.firstname" => 'Hugo')));
訂閱:
張貼留言 (Atom)
分享 Linux/Apache/PHP+MySQL/Smarty/JQuery/RubyOnRails 的點點滴滴!
沒有留言:
張貼留言