语法错误:意外'!' [英] Syntax error: unexpected '!'

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

问题描述

我在尝试提交我上传的新表单时在我的网站上收到此错误代码。


解析错误:语法错误,意外''!'在第31行的/www/zymichost.com/m/y/c/mycustombuiltpc/htdocs/CustomForm.php


第31行是!isset($ _ POST [''Role' '])||

I''m getting this error code on my website when trying to submit the new form I''ve uploaded.

Parse error: syntax error, unexpected ''!'' in /www/zymichost.com/m/y/c/mycustombuiltpc/htdocs/CustomForm.php on line 31

Line 31 is !isset($_POST[''Role'']) ||

推荐答案

_POST [''Role''])||
_POST[''Role'']) ||


你能提供更多代码吗? ..看起来就像某些if语句的一部分...或者是它?
Can you give more code ... that looks just like a part of some if statement ... or is it?


它来自PHP的这一部分
Hi, it''s from this section of the PHP
展开 | 选择 | Wrap | 行号


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

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