摘要: // 异步请求导致数据错乱 // function get_num(){ // $("input[name='monitor']").eq(1).attr('checked',true); // $("input[name='monitor']").next('label').removeClass("ui-state-active"); // $("input[name... 阅读全文
posted @ 2016-11-25 15:43 蚂蚁羽 阅读(1893) 评论(0) 推荐(0) 编辑
摘要: php试题网 http://phpshiti.com/ http://www.jb51.net/article/30458.htm 阅读全文
posted @ 2016-11-25 15:37 蚂蚁羽 阅读(3179) 评论(0) 推荐(0) 编辑
摘要: http://bbs.csdn.net/topics/390480147 http://codepen.io/ge1doot/pens/public/# 阅读全文
posted @ 2016-11-23 16:36 蚂蚁羽 阅读(110) 评论(0) 推荐(0) 编辑
摘要: var a = Array(1,2,3,4,5); function in_array(search,array){ for(var i in array){ if(array[i]==search){ return true; } } return false; } alert(in_array(6,a)); 阅读全文
posted @ 2016-11-22 14:38 蚂蚁羽 阅读(2744) 评论(0) 推荐(0) 编辑
摘要: json_encode()和json_decode()分别是编译和反编译过程 注意json只接受utf-8编码的字符,所以json_encode()的参数必须是utf-8编码,否则会得到空字符或者null json_decode($arr,true); json_decode反编译加true就是变成 阅读全文
posted @ 2016-11-20 13:05 蚂蚁羽 阅读(344) 评论(0) 推荐(0) 编辑
摘要: $arr = array( '11'=>array( 'a'=>1, 'b'=>2, ), '22'=>array( 'a'=>3, 'b'=>4, ), '33'=>array( 'a'=>5, 'b'=>6, ) ); $data = $this->... 阅读全文
posted @ 2016-11-17 16:49 蚂蚁羽 阅读(1918) 评论(0) 推荐(0) 编辑
摘要: https://www.zhihu.com/question/19618769 http://bbs.csdn.net/topics/390732999 http://bbs.csdn.net/topics/350109002 阅读全文
posted @ 2016-11-16 12:35 蚂蚁羽 阅读(203) 评论(0) 推荐(0) 编辑
摘要: header("Content-type:text/html;charset=utf-8"); // p($this->input->ip_address()); // exit; $ip = $this->input->ip_address(); $ip_url_api="http://ip.taobao.com/service/getIpInfo.php?ip=$ip"; $ip_api =... 阅读全文
posted @ 2016-11-15 14:20 蚂蚁羽 阅读(2459) 评论(0) 推荐(0) 编辑
摘要: function sort_with_keyName($arr,$orderby='desc'){ //在内存的另一处 $a 复制内容与 $arr 一样的数组 foreach($arr as $key => $value) $a[$key]=$value; if($orderby== 'asc'){//对数组 $arr 进行排序 asort($arr... 阅读全文
posted @ 2016-11-01 14:20 蚂蚁羽 阅读(10893) 评论(1) 推荐(0) 编辑
摘要: http://oycrm.com/oep-new/index.php?mod=home&act=index http://www.php100.com/cover/php/188.html 阅读全文
posted @ 2016-10-29 16:33 蚂蚁羽 阅读(2004) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2016-08-10 12:02 蚂蚁羽 阅读(2) 评论(0) 推荐(0) 编辑
摘要: http://www.jb51.net/article/44181.htm 阅读全文
posted @ 2016-08-07 22:19 蚂蚁羽 阅读(225) 评论(0) 推荐(0) 编辑
摘要: http://jingyan.baidu.com/article/fd8044faee48b35031137ac4.html 阅读全文
posted @ 2016-07-05 11:42 蚂蚁羽 阅读(106) 评论(0) 推荐(0) 编辑
摘要: CS5:http://pan.baidu.com/s/1o69HPrG 阅读全文
posted @ 2016-07-05 11:08 蚂蚁羽 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 百度API商店:http://apistore.baidu.com/astore/classificationservicelist.html?isFree=1 汇率转换:http://apistore.baidu.com/apiworks/servicedetail/119.html https: 阅读全文
posted @ 2016-06-22 15:29 蚂蚁羽 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 在查找的条件值加上的binary() 来源:http://my.oschina.net/xiangtao/blog/33983 阅读全文
posted @ 2016-06-17 16:54 蚂蚁羽 阅读(1086) 评论(0) 推荐(0) 编辑