2013年11月8日

jQuery中要注意的一些函数

摘要: has()方法 或 :has选择器 :是过滤子类含有的,并不是过滤当前选择器选择的元素或对象含有的 阅读全文

posted @ 2013-11-08 16:55 andydaopeng 阅读(131) 评论(0) 推荐(0) 编辑

php实用函数整理

摘要: 1. 排序:array_multisort 可以对多位数组的多个字段进行排序例子1如下://自定义数组排序--按转发数从高到低排序 function sortSelfRc($oneLayer){ $myselfSort = array(); //自定义排序数组 $i=0; foreach($oneLayer as $k=>$layer){ $oneLayer[$i] = $layer; unset($oneLayer[$k]); $myselfSort[] = $layer['reposts_count']... 阅读全文

posted @ 2013-11-08 10:20 andydaopeng 阅读(163) 评论(0) 推荐(0) 编辑

导航