时间:2021-07-01 10:21:17 帮助过:2人阅读
1、将php安装目录下的php_mysql.dll和MySQL安装目录下的libmysql.dll文件拷贝至c:/windows/system32中;
2、配置php.ini
extension=php_gd2.dll
extension=php_mbstring.dll
extension=php_mysql.dll
extension=php_mysqli.dll
1、login.php页面
login page
select_db("db_test");
//mysql_query("set name 'gb2312'");
$conn->set_charset("utf8");
?>
http://www.bkjia.com/PHPjc/820637.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/820637.htmlTechArticle一、php配置MySQL 1、将php安装目录下的php_mysql.dll和MySQL安装目录下的libmysql.dll文件拷贝至c:/windows/system32中; 2、配置php.ini extension=php_gd2.dll...