Home >Backend Development >PHP Tutorial > mysql表改了编码,话语执行就报错

mysql表改了编码,话语执行就报错

WBOY
WBOYOriginal
2016-06-13 12:37:54795browse

mysql表改了编码,语句执行就报错
我把表格和字段的编码由utf8_general_ci改成utf8_unicode_ci,就报错
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /var/www/html/amazonnew/function/sale_import.class.php on line 29


另一个问题,什么编码比较适合保存各国语言??

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn