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

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

WBOY
WBOYOriginal
2016-06-06 20:35:031286browse

mysql_query(

怎么不行啊?

回复内容:

mysql_query(

怎么不行啊?

不要mysql_query,直接使用set names utf8

Statement:
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