Parse error: syntax error, unexpected T
I get this error in my PHP code:
Parse error:syntax error, unexpected T_BOOLEAN_AND in /home/a1825511/public_html/register.php on line 23
This is my code:
if (strlet($getemail) >= 7) && (strstr($getemail, "@")) && (strstr($getemail, ".")) {
What am I doing wrong? By the way that end bracket does connect later in my code, so all good there.
你失去了一个之后if
if ((strlet($getemail) >= 7) && (strstr($getemail, "@")) && (strstr($getemail, ".")))
Count your parenthesis. You have at least one too many.
if (strlen($getemail) >= 7 && strstr($getemail, "@") && strstr($getemail, ".")) {
链接地址: http://www.djcxy.com/p/69464.html
上一篇: 解析错误:语法错误,意外的'&&'(T
下一篇: 解析错误:语法错误,意外的T