Blogger Information
Blog 51
fans 0
comment 1
visits 70612
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
php pdo 插入中文出现乱码解决 办法
呵呵哒
Original
1126 people have browsed it

实例

pdo 中文乱码处理办法

一,可以在new  pdo 执行这个 语句
$pdo->query('set names utf8;');

或者 在命令行 执行
set names utf8;

运行实例 »

点击 "运行实例" 按钮查看在线实例


Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post
  • 1
    2018-03-17 17:09:25