分析错误:语法错误,意外的T_SL PHP herdeoc

分析错误:语法错误,意外的T_SL PHP herdeoc,php,heredoc,Php,Heredoc,我不断得到以下错误: 分析错误:语法错误,第70行的/home/a4999406/public_html/willingLog.html中出现意外的T_SL 在以下代码中(第一行是第70行): echo尝试: echo查看复制粘贴,第一行的“END”后面似乎有一个空格字符: 'echo其中是否有任何时髦的不可见字符,或者在此之前有任何语法问题?没有不可见字符。我知道上面没有语法问题。T_SL代表不太奇怪;此错误的一个常见原因是编码器仅使用两个“在我的情况下,你能说得更多吗?有错误吗?请记住,在e

我不断得到以下错误:

分析错误:语法错误,第70行的/home/a4999406/public_html/willingLog.html中出现意外的T_SL

在以下代码中(第一行是第70行):

echo尝试:


echo查看复制粘贴,第一行的“END”后面似乎有一个空格字符:


'echo其中是否有任何时髦的不可见字符,或者在此之前有任何语法问题?没有不可见字符。我知道上面没有语法问题。
T_SL
代表
不太奇怪;此错误的一个常见原因是编码器仅使用两个“在我的情况下,你能说得更多吗?有错误吗?请记住,在
echo@Piotr之后不能有任何白色字符看起来这才是真正的问题。。。!我认为,在结束后删除一个空格是成功的。正好遇到了另一只虫子,所以我得看看。你救了我一天。非常感谢。
        echo <<<END 
<form action = "willingLog.html" method="post"><pre>
    First       <input type="text" name="first" />
    Last        <input type="text" name="last" />
    Email       <input type="text" name="email" />
    Username    <input type="text" name="user_name" />
                <input type="submit" value="AD RECORD" />
</pre></form>
END;
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
echo <<<'END'
<form action = "willingLog.html" method="post"><pre>
    First       <input type="text" name="first" />
    Last        <input type="text" name="last" />
    Email       <input type="text" name="email" />
    Username    <input type="text" name="user_name" />
                <input type="submit" value="AD RECORD" />
</pre></form>
END;
'echo <<<END '