上一页 1 2 3 4 5 6 7 8 9 10 ··· 19 下一页

2022年9月9日

ThinkPHP模板select年份

摘要: <select name="s_deduct_year"> <option value="">年度</option> <for start="2019" end="date('Y')" comparison="elt"> <option value="{$i}" <if condition="$i= 阅读全文

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

php 强制跳转到https

摘要: if(!isset($_SERVER['HTTPS'])||$_SERVER['HTTPS']=='off'){ header("HTTP/1.1 301 Moved Permanently"); header('Location:https://'.$_SERVER['HTTP_HOST'].$_ 阅读全文

posted @ 2022-09-09 11:07 小馬過河﹎ 阅读(113) 评论(0) 推荐(0)

去掉layui table tr hover 效果

摘要: .layui-table tbody tr:hover { background-color: white; } 阅读全文

posted @ 2022-09-09 11:07 小馬過河﹎ 阅读(242) 评论(0) 推荐(0)

ThinkPHP3图片加文字水印

摘要: (new \Think\Image) ->open('./cert/static/base.jpg') ->text($name.$phone,'./cert/static/font.ttf',22,'#111111',[123,312]) ->text($date,'./cert/static/f 阅读全文

posted @ 2022-09-09 11:06 小馬過河﹎ 阅读(57) 评论(0) 推荐(0)

mysql查询增加表头

摘要: select '微信支付流水号' as juan_orderno ,'捐赠人' ,'手机号码' ,'捐赠金额' ,'捐赠时间' ,'捐赠项目' ,'捐赠人备注' ) union all ( select juan_orderno ,juan_name ,juan_phone ,juan_price 阅读全文

posted @ 2022-09-09 11:05 小馬過河﹎ 阅读(41) 评论(0) 推荐(0)

IIS强制HTTPS&ThinkPHP隐藏index.html

摘要: <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <clear /> <rule name="ssl" stopProcessing="true"> <match u 阅读全文

posted @ 2022-09-09 11:04 小馬過河﹎ 阅读(13) 评论(0) 推荐(0)

IIS vue-history配置

摘要: <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="vue-history" patternSyntax="Wildcard"> <match 阅读全文

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

php 过滤数组的null值

摘要: function unset_null($arr){ foreach($arr as $k=>$v){ $arr[$k]=($v==null||is_null($v)||$v=='null')?'':$v; } return $arr; } 阅读全文

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

mysql 根据指定值排序

摘要: select * from `jumin` where jumin_house_id=$house_id order by (case when jumin_quanshu='自有' then 1 when jumin_quanzhu='租赁' then 2 else 99 end) ,(case 阅读全文

posted @ 2022-09-09 11:00 小馬過河﹎ 阅读(24) 评论(0) 推荐(0)

css 中文单行竖排

摘要: .vertical{ width: 20px; margin: 0 auto; line-height: 24px; } 阅读全文

posted @ 2022-09-09 10:59 小馬過河﹎ 阅读(15) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 8 9 10 ··· 19 下一页

导航