PHP编程

PHP报错1064解决办法

日期:2015/6/28来源: IT猫扑网

今天一个各户的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 重启服务器,问题解决.

相关文章

相关下载

网友评论

我要评论...
    没有更早的评论了
    取消