摘要: function toweek($date){ $num = date('w',strtotime($date)); $week = array('0'=>'周日','1'=>'周一','2'=>'周二','3'=>'周三','4'=>'周四','5'=>'周五','6'=>'周六'); retur 阅读全文
posted @ 2016-06-04 11:57 小庄啊 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 01 输出中文乱码 02json_encode()转义成json入库,默认把中文转成unicode 03 二次开发的php文件或者html文件中.中文编码不是utf-8的,选择txt文本或者editplus打开,另存为utf-8.然后修改代码中设置的编码为utf-8. 编译的时候,先查看文本的编码. 阅读全文
posted @ 2016-06-04 11:42 小庄啊 阅读(458) 评论(0) 推荐(0) 编辑