解析错误:语法错误,意外T_VARIABLE [英] Parse error: syntax error, unexpected T_VARIABLE

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

问题描述

我刚搞砸了我的第一个PHP代码,并在网上发布了,我收到一个Parse错误:语法错误,第45行/home/hydeands/public_html/phpmail.php中的意外T_VARIABLE

但是当我看着它看起来还不错。

。我只是为在线表单创建一个php来指导电子邮件。

这是代码。

I have just finshed my first php code and posted it online and I am getting a Parse error: syntax error, unexpected T_VARIABLE in /home/hydeands/public_html/phpmail.php on line 45
But when I look at it it looks ok.
. I am just creating a php for a online form to direct the email.
Here is the code.

展开 | 选择 | 换行 | 行号

推荐答案

第41行需要一个分号,
Line 41 needs a semi-colon,


谢谢

现在我收到的电子邮件但字段是空白。是这个代码还是HTML代码?

谢谢
Thank you
Now I am getting the email but the fields are blank. Is that this code or the html code?
Thank you


哪些字段?


这篇关于解析错误:语法错误,意外T_VARIABLE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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