APP NEWS

PHP报错1064解决办法

今天一个各户的PHP网站进后台出现这样的错误.Databaseerror:InvalidSQL:selectgroup_purviewfromsunlitecn_admin_groupwheregroup_id=MySQLError:1064(YouhaveanerrorinyourSQLsyntax;checkthemanualthatcorrespondstoyourMySQLserver

2015-06-28 00:000 次阅读
PHP报错1064解决办法

今天一个各户的php网站进后台出现这样的错误.

Database error: Invalid SQL: select group_purview from sunlitecn_admin_group where group_id=
mysql Error: 1064 (You have an error in your SQL syntax; check the manual that corresponds to your Mysql server version for the right syntax to use near '' at line 1)
Session halted.

解决办法:将PHP.INI文件 register_globals 设成ON 重启服务器,问题解决.

关键词标签:办法,解决,MySQL,to,t

YOU MAY ALSO LIKE

更多应用推荐

浏览应用库