上一页 1 ··· 93 94 95 96 97 98 99 100 101 ··· 133 下一页
摘要: $str = '中'; if (preg_match('/^[\x{4e00}-\x{9fa5}]+$/u',$str)){ echo '中文'; } else { echo 'no'; } 阅读全文
posted @ 2019-09-04 11:25 盘思动 阅读(400) 评论(0) 推荐(0)
摘要: <pre>array(3) { [&quot;errno&quot;] =&gt; string(1) &quot;0&quot; [&quot;errmsg&quot;] =&gt; string(2) &quot;ok&quot; [&quot;save_name&quot;] =&gt; st 阅读全文
posted @ 2019-09-03 16:53 盘思动 阅读(2974) 评论(0) 推荐(0)
摘要: public function zip_download() { $array = array( 'http://local.qki.com/site_upload/erweima/20190826/1566809174292_100063_865373044010119.png', 'http://local.q... 阅读全文
posted @ 2019-08-27 18:18 盘思动 阅读(444) 评论(0) 推荐(0)
摘要: layer.confirm('请选择是否通过提现?(tips:同意直接打款,驳回不可恢复)', { btn : ['通过-打款','不通过','通过-已打款'], btn1:function(){ ... 阅读全文
posted @ 2019-08-21 15:21 盘思动 阅读(19547) 评论(0) 推荐(1)
摘要: <pre> array(8) { [0] => string(1) 2 [1] => string(2) 19 [2] => string(2) 18 [3] => string(2) 17 [4] => string(2) 16 [5] => string(2) 14 [6] => string( 阅读全文
posted @ 2019-08-21 11:54 盘思动 阅读(639) 评论(0) 推荐(0)
摘要: 无标题文档 这个是text-muted属性的强调色! 这个是text-primary属性的强调色! 这个是text-success属性的强调色! 这个是text-info属性的强调色! 这个是text-warning属性的强调色! 这个是te... 阅读全文
posted @ 2019-08-20 16:01 盘思动 阅读(6573) 评论(0) 推荐(1)
摘要: $("#form_title").ajaxSubmit({ //页面生成的html 中含有表单提交表单方式 dataType: "json", success : function(obj){ lock_flag = false; if(obj.errno == 0){ lock_flag = fa 阅读全文
posted @ 2019-08-17 13:34 盘思动 阅读(426) 评论(1) 推荐(0)
摘要: $num = 10.4567; //第一种:利用round()对浮点数进行四舍五入 echo round($num,2); //10.46 //第二种:利用sprintf格式化字符串 $format_num = sprintf("%.2f",$num); echo $format_num; //10.46 /... 阅读全文
posted @ 2019-08-17 00:30 盘思动 阅读(3915) 评论(0) 推荐(0)
摘要: switch ($date_type){ case 'yesterday': $res_data = [ 'start_time' => strtotime(date('Y-m-d',time())) - 24 * 3600, 'end_time' => strtotime(date('Y-m-d',time())) ]; break; case 'today': $res_data = [ 's 阅读全文
posted @ 2019-08-17 00:29 盘思动 阅读(180) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2019-08-16 21:44 盘思动 阅读(246) 评论(0) 推荐(0)
上一页 1 ··· 93 94 95 96 97 98 99 100 101 ··· 133 下一页