摘要:
//子孙树-查出所有的商品分类 public function gettree( $cat_id = 0 ,$lv = 0 ){//lv辅助统计第几级分类 $tree = array(); $cat = select * form table_cat; foreach($cat as $k=>$v) 阅读全文
posted @ 2017-05-19 14:42
大妖小白
阅读(185)
评论(0)
推荐(0)
摘要:
1.array_column() 返回输入数组中某个单一列的值。 用法:用来将二维数组转化为一维数组;设置数组key为特定值; 语法 必需。需要返回值的列。 可以是索引数组的列的整数索引,或者是关联数组的列的字符串键值。 该参数也可以是 NULL,此时将返回整个数组(配合 index_key 参数来 阅读全文
posted @ 2017-05-19 14:17
大妖小白
阅读(257)
评论(0)
推荐(0)
摘要:
1.启动、关闭防火墙永久打开或则关闭chkconfig iptables onchkconfig iptables off即时生效:重启后还原service iptables startservice iptables stop或者:/etc/init.d/iptables start/etc/in 阅读全文
posted @ 2017-05-19 11:41
大妖小白
阅读(179)
评论(0)
推荐(0)

浙公网安备 33010602011771号