摘要: public function index(){ $cate = 1; $query = M('Cate')->field('id')->where(array('id'=>$cate,'pid'=>$cate,'_logic'=>'OR'))->buildSql();//在一个表中获得栏目... 阅读全文
posted @ 2014-11-25 16:25 捕蛇者说 阅读(791) 评论(0) 推荐(0) 编辑
摘要: $goods = M('Goods')->where($map)->buildSql();echo $goods; 阅读全文
posted @ 2014-11-25 16:15 捕蛇者说 阅读(440) 评论(0) 推荐(0) 编辑
摘要: [删除] 阅读全文
posted @ 2014-11-25 14:49 捕蛇者说 阅读(2266) 评论(1) 推荐(0) 编辑
摘要: {$create_time|date="y-m-d",###} 阅读全文
posted @ 2014-11-25 14:44 捕蛇者说 阅读(691) 评论(0) 推荐(0) 编辑