摘要: SQL: select * from table where id IN (3,6,9,1,2,5,8,7); SQL: select * from table where id IN ($str); //注意 $str为字符串,不是数组 阅读全文
posted @ 2016-11-14 20:15 虚幻的街景 阅读(168) 评论(0) 推荐(0) 编辑
摘要: function digui($idd) { $child = M('navclass')->where('f_id=' . $idd)->select(); $arr = array(); if (!empty($child)) { foreach ($child as $v) { $a.= $v 阅读全文
posted @ 2016-11-14 14:23 虚幻的街景 阅读(601) 评论(0) 推荐(0) 编辑