Home > Backend Development > PHP Tutorial > php网页的输入框显示中文错误

php网页的输入框显示中文错误

WBOY
Release: 2016-06-13 12:05:56
Original
1019 people have browsed it

php网页的输入框显示中文异常
如下图所示:

输入的时候能显示:


保存一下,中文就变成??了。


求指教,如何能做到支持中英文?
------解决方案--------------------
页面编码跟数据库编码不一致
------解决方案--------------------
数据库、页面编码样式不一致导致。

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template