更新时间:2023-09-21 09:09:34
在$sql
分配中,您错过了"$event->type"
周围的串联点.
You've missed concatenation dots around "$event->type"
in your $sql
assignment.
在开发过程中,我建议您启用添加错误和警告消息的功能
While developing I recommend you to enable error and warning messages adding
error_reporting(E_ALL);
ini_set('display_errors', 1);
输入您的代码.
PHP语法检查:解析错误:语法错误,您的代码在第62行出现意外的'$ event'(T_VARIABLE).
PHP Syntax Check: Parse error: syntax error, unexpected '$event' (T_VARIABLE) in your code on line 62.
比
500内部服务器错误.
500 Internal Server Error.
或者,如果您需要检查一小段代码,则可以使用一些在线工具,例如 http://phpcodechecker .com/
As an alternative, if you have a small piece of code to check, you can use some online tool like http://phpcodechecker.com/