上一页 1 2 3 4 5 6 7 8 ··· 13 下一页
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2018-03-13 09:55 程序猿的笔记 阅读(8) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2018-03-13 09:47 程序猿的笔记 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 参照 http://www.oschina.net/code/snippet_105637_11401 的例子 $arr = array('aa' => array('bb' => array('id'=>5,'grade'=>5), 'cc' => array("name"=>'some'), ' 阅读全文
posted @ 2018-03-09 20:25 程序猿的笔记 阅读(752) 评论(0) 推荐(0) 编辑
摘要: sql 某一字段 数量大于1 SELECT * FROM ecm_goods_spec AWHERE ( SELECT count( * ) FROM ecm_goods_spec BWHERE A.`goods_id` = B.`goods_id` ) >1 阅读全文
posted @ 2018-03-09 20:22 程序猿的笔记 阅读(257) 评论(0) 推荐(0) 编辑
摘要: <?php $a= array( array( 'ID'=> 2 ) ); $b= array( array( 'ID'=> 5656 ) ); print_r($r); //合并两个数组 以ID值 作为键 function mergeById(&$arr1,&$arr2, $key='ID') { 阅读全文
posted @ 2018-03-09 20:18 程序猿的笔记 阅读(457) 评论(0) 推荐(0) 编辑
摘要: 左外 右外连接 select * from tb1 left join tb2 on(tb1.id = tb2.id) select * from tb1 right join tb2 on(tb1.id = tb2.id) JOIN: 如果表中有至少一个匹配,则返回行 LEFT JOIN: 即使右 阅读全文
posted @ 2018-03-09 19:44 程序猿的笔记 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 参考 http://laravelacademy.org/post/3279.html use Validator; $rules =array( 'proj' => 'required', 'dDate' => 'required|date', 'rDate' => 'date', ); $mes 阅读全文
posted @ 2017-12-19 10:03 程序猿的笔记 阅读(724) 评论(0) 推荐(0) 编辑
摘要: 下载:http://www.geekso.com/component/zendstudio-downloads/ 破解:http://www.geekso.com/ZendStudio9-key/ 注册码:34E606CF10C3E4CF202ABCEAA9B0B7A64DD2C5862A514B9 阅读全文
posted @ 2017-12-02 19:08 程序猿的笔记 阅读(583) 评论(0) 推荐(0) 编辑
摘要: 1 网卡说明 1)两块网卡的说明:第一块网卡为配置外网: eth0第二块网卡为配置内网: eth1(没有外网的机器也要将内网配置在第二块网卡上) 2 网卡默认配置 1)安装完成后默认配置:CentOS 6.5默认安装好之后是没有自动开启网络连接的!2) 默认IP图: 3) 默认网卡1配置文件。 文件 阅读全文
posted @ 2017-12-02 18:39 程序猿的笔记 阅读(375) 评论(0) 推荐(0) 编辑
摘要: 1 curl post curl -X POST http://localhost/ -d '{"data":{"name":"hheh","shortname":"US"}}' -H "Content-Type: application/json" 2 curl: (5) Could not re 阅读全文
posted @ 2017-11-30 10:12 程序猿的笔记 阅读(687) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 13 下一页