摘要: asdf 阅读全文
posted @ 2016-06-01 20:57 小庄啊 阅读(444) 评论(0) 推荐(0) 编辑
摘要: mysql cmd show variables like "group_concat_max_len"; concat 合并多条数据 成一个逗号分隔的字符串 查找mysql的配置文件find -name my.cnf 在文件中 找到在[mysqld]分组下添加 group_concat_max_l 阅读全文
posted @ 2016-06-01 20:46 小庄啊 阅读(1113) 评论(0) 推荐(1) 编辑
摘要: $matching_tickets = ''; foreach ($list as $kk => $vv) { $type = substr($vv['train_code'], '0', '1'); if ($train_type == $type) { $matching_tickets[] = 阅读全文
posted @ 2016-06-01 18:40 小庄啊 阅读(179) 评论(0) 推荐(0) 编辑
摘要: success:function(){ window.location.href="/enterprise/show"; } success:function(){ window.location.href="http://www.xxx.com/enterprise/show"; //错误.无法跳 阅读全文
posted @ 2016-06-01 15:17 小庄啊 阅读(2818) 评论(0) 推荐(0) 编辑
摘要: foreach($recomend_total as $k=>$v){ $flag[] = $v['applyitem_id']; } array_multisort($flag,SORT_ASC,$recomend_total); 遍历$recomend_total数组.取出需要排序的字段, <? 阅读全文
posted @ 2016-06-01 11:56 小庄啊 阅读(195) 评论(0) 推荐(0) 编辑