这个错误激怒了我.我在括号错误或缺少括号的行附近看不到任何内容.有人帮我一把吗?这是我的第一篇文章,如果格式化关闭,请原谅我; 我想我做对了.
编辑:第87行,');' 错误,就是这一行:select(SEXTANT_DAEMON_LOG);
syntax error at -edited- line 87, near ");"
syntax error at -edited- line 92, near "if"
syntax error at -edited- line 99, near "if"
Unmatched right curly bracket at -edited- line 102, at end of line
syntax error at -edited- line 102, near "}"
syntax error at -edited- line 109, near "}"
syntax error at -edited- line 120, near ");"
BEGIN not safe after errors--compilation aborted at -edited- line 122.
Run Code Online (Sandbox Code Playgroud)
这是错误附近的代码(这里是完整代码):
$MAIN_DBH = getConnection('Main'); …Run Code Online (Sandbox Code Playgroud)