mysql_query('set names utf-8'); 告诉数据库以utf-8输入和输出
2015-06-25
mysql_query('set names utf8'); 告诉数据库以utf-8输入和输出
2015-06-25
代码敲了一下,连接成功可以显示出来,但是出来这么行字
Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in xxxx(反对用mysql_connection(),未来会被移除,使用mysqli_connection()或者PDO)
代码里的mysql_connection()写成mysqli_connection()也没啥问题
Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in xxxx(反对用mysql_connection(),未来会被移除,使用mysqli_connection()或者PDO)
代码里的mysql_connection()写成mysqli_connection()也没啥问题
2015-06-24