上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 24 下一页
摘要: ps:身份证倒数第二位奇数为男,偶数为女 阅读全文
posted @ 2018-03-01 14:55 pengcx 阅读(150) 评论(0) 推荐(0) 编辑
摘要: error_reporting(0); $old_pre = 'tdr_'; // 原表前缀 $new_pre = 'db_'; // 新表前缀 // 配置连接 $db = new mysqli('127.0.0.1', 'db_user', 'db_pass', 'db_name'); if ($db->connect_error) die('Connect Error (' . $db->c... 阅读全文
posted @ 2018-03-01 10:21 pengcx 阅读(290) 评论(0) 推荐(0) 编辑
摘要: js生成条形码插件 js自动生成条形码插件-JsBarcode npm官网地址:https://www.npmjs.com/package/jsbarcode github:https://github.com/lindell/JsBarcode 使用说明: 引入JsBarco... 阅读全文
posted @ 2018-03-01 08:47 pengcx 阅读(490) 评论(0) 推荐(0) 编辑
摘要: ps:同部署到GitHub上一样 http://www.cnblogs.com/pcx105/p/7777932.html 阅读全文
posted @ 2018-02-26 11:17 pengcx 阅读(296) 评论(0) 推荐(0) 编辑
摘要: 来源:https://www.hellojava.com/article/84 (1) 如何获取checkbox,并判断是否选中 (2) 获取checkbox选中的值 (3)checkbox全选/反选/选择奇数 (4)获取select下拉框的值 (5)获取选中值,三种方法都可以 (6)设置第一个ra 阅读全文
posted @ 2018-02-21 11:43 pengcx 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 知识关键词:DATE_FORMAT ps:如果时间字段为时间戳则,DATE_FORMAT(from_unixtime(create_time),'%Y-%u') 根据format字符串格式化date值。下列修饰符可以被用在format字符串中: %M 月名字(January……December) % 阅读全文
posted @ 2018-02-01 15:26 pengcx 阅读(183) 评论(0) 推荐(0) 编辑
摘要: $images = [ 'http://www.thinkphp.cn/Uploads/editor/2017-11-02/59fac47ed670b.png', 'http://www.thinkphp.cn/Uploads/editor/2017-11-02/59fac48995e58.png' 阅读全文
posted @ 2018-01-26 10:27 pengcx 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 很可能是因为工作目录并不在sys.path中,系统无法默认的找到您的脚本文件,通过以下命令可以解决该问题: >>> import sys>>> sys.path.append('d:\python_test') #括号内为工作文件夹路径>>> import mymodel #引用的模块 阅读全文
posted @ 2018-01-11 13:42 pengcx 阅读(1849) 评论(0) 推荐(0) 编辑
摘要: 分析: 1、ob_clean这个函数的作用: 用来丢弃输出缓冲区中的内容,如果你的网站有许多生成的图片类文件,那么想要访问正确,就要经常清除缓冲区 阅读全文
posted @ 2018-01-02 15:56 pengcx 阅读(472) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/qiantuwuliang/archive/2011/01/23/1942382.html 阅读全文
posted @ 2017-12-29 13:51 pengcx 阅读(86) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 24 下一页