select * from user where USER_ID = '姓名'Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in.........当姓名换成英文的就可以正常查询,但换成中文的就无法查询,求解决方法。
多半是字符集不一致造成的。