上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 19 下一页

2022年9月9日

ThinkPHP3原样输出字段名大小写

摘要: /Application/Common/Conf/config.php 'DB_PARAMS'=>[\PDO::ATTR_CASE=>\PDO::CASE_NATURAL], //原样输出数据库字段名大小写 阅读全文

posted @ 2022-09-09 08:54 小馬過河﹎ 阅读(32) 评论(0) 推荐(0)

mysql 今天过生日的会员

摘要: select * from `person` where substring(person_birthday,6,5)=date_format(curdate(),'%m-%d') 阅读全文

posted @ 2022-09-09 08:53 小馬過河﹎ 阅读(22) 评论(0) 推荐(0)

PHP替换<br>标签为换行符

摘要: $html=\preg_replace('/<br\\s*?\/??>/i',chr(13),$html); 阅读全文

posted @ 2022-09-09 08:49 小馬過河﹎ 阅读(65) 评论(0) 推荐(0)

mysql group_concat 缺失数据 | 修改my.ini 默认配置

摘要: 核心配置 group_concat_max_len = 9999999 相关配置 sql-mode = "NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION" max_allowed_packet = 256M group_concat_max_len = 9999 阅读全文

posted @ 2022-09-09 08:48 小馬過河﹎ 阅读(36) 评论(0) 推荐(0)

vue客户端发送两次请求的解决办法

摘要: header中content-type 设为 application/x-www-form-urlencoded; header中不要设置其他参数。 阅读全文

posted @ 2022-09-09 08:46 小馬過河﹎ 阅读(164) 评论(0) 推荐(0)

javascript 时间字符串转时间戳

摘要: 字符串转时间戳 var str='2020-10-20 12:00:00' new Date(str.replace(/-/g,'/')).getTime() 当前时间戳 new Date().getTime() 阅读全文

posted @ 2022-09-09 08:46 小馬過河﹎ 阅读(23) 评论(0) 推荐(0)

jQuery 判断dom是否存在

摘要: if($('qrcode').length > 0){ //doSomething } 阅读全文

posted @ 2022-09-09 08:40 小馬過河﹎ 阅读(54) 评论(0) 推荐(0)

scrollbar.css

摘要: /* 根据实际需求,可以不要。 */ body { overflow-y: scroll; } ::-webkit-scrollbar { /*滚动条整体样式*/ width: 6px; /*高宽分别对应横竖滚动条的尺寸*/ height: 6px; } /*定义滚动条轨道 内阴影+圆角*/ ::- 阅读全文

posted @ 2022-09-09 08:39 小馬過河﹎ 阅读(31) 评论(0) 推荐(0)

sweetalert2的基本用法

摘要: github https://github.com/sweetalert2/sweetalert2/ theme https://github.com/sweetalert2/sweetalert2-themes Examples <link rel="stylesheet" href="https 阅读全文

posted @ 2022-09-09 08:38 小馬過河﹎ 阅读(151) 评论(0) 推荐(0)

tipso简单用法

摘要: github https://github.com/object505/tipso Examples <!--head--> <script src="//cdn.jsdelivr.net/npm/tipso/src/tipso.min.js"></script> <link rel="styles 阅读全文

posted @ 2022-09-09 08:34 小馬過河﹎ 阅读(107) 评论(0) 推荐(0)

上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 19 下一页

导航