摘要:
SQL: select * from table where id IN (3,6,9,1,2,5,8,7); SQL: select * from table where id IN ($str); //注意 $str为字符串,不是数组 阅读全文
摘要:
function digui($idd) { $child = M('navclass')->where('f_id=' . $idd)->select(); $arr = array(); if (!empty($child)) { foreach ($child as $v) { $a.= $v 阅读全文