意外的T_VARIABLE,期待'{' [英] unexpected T_VARIABLE, expecting '{'
本文介绍了意外的T_VARIABLE,期待'{'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有人请看看问题是什么..我收到一个错误:解析错误:语法错误,意外T_VARIABLE,期待''{''在/customers/test-dig.dk/test-dig.dk/httpd .www / database.inc.php第3行
我的php代码是:
Someone please see what the problem is.. I have getting an error: Parse error: syntax error, unexpected T_VARIABLE, expecting ''{'' in /customers/test-dig.dk/test-dig.dk/httpd.www/database.inc.php on line 3
my php codes are:
展开 | 选择 | Wrap | 行号
推荐答案
Hi kilo,
欢迎来到 TSDN。
Mr.Php期待''{''
所以把它放在那里,就像他说的那样。
Hi kilo,
Welcome to TSDN.
Mr.Php is expecting ''{''
So put it there as he said.
展开 | 选择 | 换行 | 行号
对于您的下一篇文章,这可能对您有用。
[code] tags
这次我为你完成了这份工作! :)
谢谢!
-Ajaxrand
This might usefull to you, for your next post.
[code] tags
This time I made the job for you! :)
Thanks!
-Ajaxrand
更改主题标题以更好地描述问题(确实如此)你知道那些标题包含诸如''请帮助'等短语的帖子实际上得到了FEWER的答案吗?)。
Changed thread title to better describe the problem (did you know that threads whose titles contain phrases such as, ''please help'' actually get FEWER responses?).
这篇关于意外的T_VARIABLE,期待'{'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文