上一页 1 2 3 4 5 6 7 ··· 24 下一页
摘要: 下面语句会返回0 SELECT COALESCE(SUM(column),0) FROM table WHERE ... 阅读全文
posted @ 2021-07-27 18:53 pengcx 阅读(329) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-07-02 13:40 pengcx 阅读(438) 评论(0) 推荐(0) 编辑
摘要: idea open打开项目之后,project里没有目录结构。 按下列步骤操作: 1.关闭IDEA, 2.然后删除项目文件夹下的.idea文件夹 3.重新用IDEA工具打开项目 阅读全文
posted @ 2021-06-30 09:43 pengcx 阅读(371) 评论(0) 推荐(0) 编辑
摘要: img标签src引用网络图片,页面不显示,返回403错误,网络图片地址在浏览器能加载,放html却不能显示 在html页面加入<meta name="referrer" content="no-referrer">标签,就可以解决页面加载网络图片的问题, 原因大概是网络安全的问题,别人的页面做了安全 阅读全文
posted @ 2021-06-09 16:21 pengcx 阅读(574) 评论(0) 推荐(0) 编辑
摘要: <td style="max-width: 300px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;" title="内容">内容</td> 阅读全文
posted @ 2021-02-24 09:50 pengcx 阅读(199) 评论(0) 推荐(0) 编辑
摘要: function arrayUnset($arr, $key) { $newArr = []; foreach ($arr as $value) { if (isset($newArr[$value[$key]])) { //查看有没有重复项 unset($value[$key]); } else 阅读全文
posted @ 2021-02-20 10:49 pengcx 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 来源 https://www.cnblogs.com/myshowtime/p/14353777.html 阅读全文
posted @ 2021-02-08 15:37 pengcx 阅读(50) 评论(0) 推荐(0) 编辑
摘要: 当数据库中存在,不在排序字段中的值时,数据会排在最前面 列如: 阅读全文
posted @ 2020-12-08 15:30 pengcx 阅读(507) 评论(0) 推荐(0) 编辑
摘要: //重复点击限制 function fn(callback) { fn.prototype.init(callback); } fn.prototype = { canclick: true, init: function (callback) { if (this.canclick) { this 阅读全文
posted @ 2020-10-28 11:11 pengcx 阅读(397) 评论(0) 推荐(0) 编辑
摘要: $where = function ($query) use ($map1, $map2) { $query->whereOr(function ($query) use ($map1) { $query->where($map1); })->whereOr(function ($query) us 阅读全文
posted @ 2020-10-16 14:10 pengcx 阅读(297) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 24 下一页