先Stop,然后点击Config打开my.ini找到
去掉
collation_server=utf8_unicode_ci
character_set_server=utf8
之前的#
在PHP链接数据库之前设置
header("Content-type: text/html; charset:utf-8");
mysql_query('set names utf8');
先Stop,然后点击Config打开my.ini找到
去掉
collation_server=utf8_unicode_ci
character_set_server=utf8
之前的#
在PHP链接数据库之前设置
header("Content-type: text/html; charset:utf-8");
mysql_query('set names utf8');