Blogger Information
Blog 60
fans 1
comment 1
visits 64560
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
php查询出来的数据是乱码的解决方法
PHP学习
Original
1347 people have browsed it

只要在PHP的最上面增加一段

<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />

<meta http-equiv='Content-Type' content='text/html'; charset='utf-8' />

将上面这段话增加到就可以不乱码了。

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