我在所有三个文件中都有三个文件,在最后一行解析错误:语法错误,意外的$ end [英] i have three file in all three it got one same error in the last line, Parse error: syntax error, unexpected $end
本文介绍了我在所有三个文件中都有三个文件,在最后一行解析错误:语法错误,意外的$ end的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我不知道如何删除帖子,这就是为什么我删除了内容,原因
因为我的帖子很大,所以回答的那个人告诉我,我是{和}和?>所以我想我应该为自己找这些错误
感谢
i dont know how to delete the post, thats why i removed the content, reason
cause my post was very big and the guy who replied told me that i missmath { and } and ?> so i think i should look for these mistake my self
thanks
推荐答案
您几乎可以肯定在PHP中{
和}
不匹配.我可以在最后一个代码块中看到一些实际的问题,其中一个?>
太多,一个}
丢失(关于第一个?>
的位置,最后一个else
之前的一个}
太多.[我没看过前两个.]
请注意,此站点上的语法突出显示如何使您认为最后几行不是PHP?
使用一个体面的语法突出显示编辑器将使您的生活更加轻松.
彼得
You almost certainly have mismatched{
and}
in your PHP. I can see some real problems in your last code block, where you have one?>
too many, one}
missing (about where the first?>
is, and one}
too many before the lastelse
. [I haven''t looked at the first two.]
Notice how the syntax highlighter on this site doesn''t think your last few lines are PHP?
Using a decent syntax-highlighting editor will make your life a lot easier.
Peter
这篇关于我在所有三个文件中都有三个文件,在最后一行解析错误:语法错误,意外的$ end的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文