Hello everyone Encountered a problem while ago There is a table such as the following CREATE TABLE IF NOT EXISTS `gg02` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL, `case` varchar(255) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ; Then......
detail
Sometimes MYSQL into phpmyadmin is displayed correctlyThen go to the page there is garbledIt should be a coding error caused the connection setUse the following settings to correct mysql_query("SET character_set_client='utf8'"); //MYSQL pass code pages end mysql_query("SET character_set_connection=......
detail
Setting MYSQL link codingYou can use the following ways mysql_query("SET character_set_client='big5'"); Setting client code mysql_query("SET character_set_connection='utf8'"); Set the encoding when writing mysql_query("SET character_set_results='big5'"); Setting the output encoding Can be used in a......
detail
MYSQL Tutorial Link Database $db=mysql_connect('exp.com.tw:3306','mysql_account','mysql_password'); "exp.com.tw:3306"To link location and PORT number is usually PORT number can not be set MYSQL preset listening PORT No. 3306 'mysql_account'The user account for MYSQL 'mysql_password'User password for......
detail
Message Board
Feel free to leave suggestions and share! Thanksgiving!