时间:2021-07-01 10:21:17 帮助过:17人阅读
header("Content-type: text/html; charset=utf-8");
mysql_query("SET NAMES ascii");
header("Content-type: text/html; charset=utf-8");
$string = iconv('ASCII', 'UTF-8//IGNORE', $string);
mysql_query("SET NAMES utf8");
mysql_query("insert into...");
这是不可能吧?