1
有人可以告訴下面的代碼有什麼問題嗎?多行變量沒有創建
class EMAIL_BODY{
public $REGISTRATION = <<<EOF
<html>
<head>
</head>
<body style='font-family: helvetica;'>
Welcome <b>#{FIRST}</b>, <br/> You have successfully created your account.
However, there is one more step that you need to take to verify your account.
Please click the below given link to activate your account.
Unless you do that your account won\'t get activated. <br/>
<a> #{LINK} </a>
</body>
</html>
EOF;
}
感謝提前:)
你的意思是在結尾行沒有空格?我嘗試過,但仍然無法正常工作。 – TCM 2010-11-14 16:53:34
@Ankit Rathod:是的,確切的。 – Gumbo 2010-11-14 16:54:55
我試過那個Gumbo,但是Netbeans仍在抱怨:( – TCM 2010-11-14 16:55:33