php链接数据库时候中文显示错误代码的处理方法 少个header声明 <?php header("Content-type: text/html; charset=utf-8"); 把这一排字放到前面就好了