Home > Backend Development > PHP Tutorial > mysql_query("SET NAMES 'UTF8'"); 是在sql吗?

mysql_query("SET NAMES 'UTF8'"); 是在sql吗?

WBOY
Release: 2016-06-06 20:35:03
Original
1323 people have browsed it

mysql_query(

怎么不行啊?

回复内容:

mysql_query(

怎么不行啊?

不要mysql_query,直接使用set names utf8

Related labels:
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