Home > Backend Development > PHP Tutorial > Parse error: syntax error, unexpected '0' (T_LNUMBER) in F:wampwwwbook_clubv

Parse error: syntax error, unexpected '0' (T_LNUMBER) in F:wampwwwbook_clubv

WBOY
Release: 2016-06-23 14:27:34
Original
1338 people have browsed it




请问这是哪里错了???


回复讨论(解决方案)

把代码贴出来,我们才能帮你调试,发图片怎们调?

算了,有两处错误:
1、第17行双引号缺一个;
2、第7行的

$_GET("memberId")
Copy after login
Copy after login

改成:
$_GET['memberId']
Copy after login
Copy after login

这个改好了,但是运行脚本时,又报错了,是报另一个脚本的 错

算了,有两处错误:
1、第17行双引号缺一个;
2、第7行的

$_GET("memberId")
Copy after login
Copy after login

改成:
$_GET['memberId']
Copy after login
Copy after login


这个改好了,但是运行脚本时,又报错了,是报另一个脚本的错

错误提示:connect()方法和disconnect()方法不是静态方法,不能使用::这个格式调用。并且你的SQL语句还有错误,改成:

"FROM members ORDER BY username LIMIT 0,5"
Copy after login

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template