First, PHP configuration MySQL
1, copy the PHP installation directory under the Php_mysql.dll and MySQL installation directory libmysql.dll files to C:/windows/system32;
2, Configuration PHP.ini
Extension=php_gd2.dll
Extension=php_mbstring.dll
Extension=php_mysql.dll
Extension=php_mysqli.dll
Put the top four. dll above the front;
Second, the implementation of the PHP form submission to the database process
1. login.php page
Login Page
2. add.php page
3. conn.php page
select_db ("Db_test");//mysql_query ("Set name ' gb2312 '"); $conn->set_charset ("UTF8");? >
http://www.bkjia.com/PHPjc/820637.html www.bkjia.com true http://www.bkjia.com/PHPjc/820637.html techarticle First, PHP configuration MySQL 1, the PHP installation directory under the Php_mysql.dll and MySQL installation directory Libmysql.dll files copied to c:/windows/system32; 2, configuration php.ini Extension=php_gd2.dll ...