[导入]fleaphp 中$condtions 写法
$conditions = array(
array('user.username', 'dualface')
);
$tablePosts =& new Table_Posts();
$posts = $tablePosts->findAll($conditions);
dump($posts);
新的 $condtions 写法比较特别!一定要注意!----写成数组形式。http://www.fleaphp.cn/bbs/viewthread.php?tid=183
文章来源:http://www.phpweblog.net/fuyongjie/archive/2008/06/30/5253.html