Tag: FastCGI

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version

unvs | PHP | 2013-04-20
错误部分代码:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version当一个PHP网站,在提交含有单引号的内容时,提示如上错误(无法实现转义),基本原因是版本问题,需要由PHP v5.2升级到v5.3以上版本。另有一种情况是:当前mysql版本不支持的命令引起的错误,比如:mysql v5.5开始,TYPE=MYISAM这... [阅读全文]