摘要:
(1)php判断检测一个数组里有没有重复的值 if (count($array) != count(array_unique($array))) { echo '该数组有重复值'; } (2)处理从前端传来的json数据 public function dealJson($param){ return json_decode(htmlspecia... 阅读全文
posted @ 2018-01-08 13:28
邹柯
阅读(687)
评论(0)
推荐(0)
摘要:
//分类数大于4的都放到其他分类下$where ="is_deleted=1 and is_open=1 and concat(path,'/') like '".$cate_id."/%' and type_id !=0"; $cate_info=$store_goods_category->field('id,name,path,sort') ->where($wh... 阅读全文
posted @ 2018-01-08 13:19
邹柯
阅读(282)
评论(0)
推荐(0)

浙公网安备 33010602011771号