一个Parse错误,不应该 [英] A Parse error that shouldnt be

查看:58
本文介绍了一个Parse错误,不应该的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

全部,


我一直收到错误消息

解析错误:解析错误,意外T_ENCAPSED_AND_WHITESPACE,期待/ home中的T_STRING或T_VARIABLE或T_NUM_STRING /moneill/public_html/input.html第248行


所以我一遍又一遍地检查了我的代码,但是找不到什么错误。因此,我感到恼火,我评论它继续下一个错误,但出现相同的错误消息。当我完全删除代码时,错误消息仍然在第248行,但很明显在差异代码上。

< span class =codeLinkonclick =Blur(this,this.parentNode.parentNode,getChildren(this),true);>展开 | 选择 | Wrap | 行号

解决方案

最好指出哪一行是248.

语法看起来还不错,但要回显变量以查看其中的内容。

我怀疑你在其中一个全局变量中有一个字符串。

顺便说一下,在这段短代码中有很多不良习惯。

实际上看再次问题可能在这里

[PHP]
actualValues

I] =

Lo all,

Ive been getting the error message
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/moneill/public_html/input.html on line 248

so ive checked me code over and over again but cant find whats wrong. So getting a annoyed I commented it to move on to next error but the same error message comes up. And when i remove the code completely the error message remains on line 248 but obviously on diff code.

Expand|Select|Wrap|Line Numbers

解决方案

It would have been nice to point out which is row 248.
The syntax looks OK, but echo out the variables to see what is in them.
I suspect you have a string in one of the globals.
By the way there are a lot poor habits in this short piece of code.
In fact looking again the problem may be here
[PHP]


actualValues


i]=


这篇关于一个Parse错误,不应该的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆