![240](https://cdn2.jianshu.io/assets/default_avatar/12-aeeea4bedf10f2a12c0d50d626951489.jpg?imageMogr2/auto-orient/strip|imageView2/1/w/240/h/240)
IP属地:四川
$user_name= ‘张三’; $strlen= mb_strlen($user_name,'utf-8'); if($strlen>=2)...
获得时间的格式:12-25 00:00:00 function time_format(time){ var date = new Date(t...
在linux环境下运行,当从mysql数据表里导出数据类型为bit类型时,php需要用ord()函数进行转换。
导入时间的时候需要注意将Excel中的时间那列数据格式转化为文本类型。