2013-05-19 46 views
-2
if(isset($_POST['contactname']) && isset($_POST['email']) && isset($_POST['message'])) { 
$contactname = $_POST['contactname']; 

$email = $_POST['email']; 

$message = $_POST['message']; 

$subject = "Ձեզ գրել են ձեր կայքից"; 

$to = "[email protected]"; 

$headers = "From: ".$email; 
} 

[19-May-2013 04:57:16 America/Denver] PHP Parse error: syntax error, unexpected '{' in /home3/webex/public_html/mmm/mar/views/mail.php on line 1我得到了一個strage PHP語法錯誤

[19-May-2013 04:57:20 America/Denver] PHP Parse error: syntax error, unexpected '{' in /home3/webex/public_html/mmm/mar/views/mail.php on line 1

[19-May-2013 04:57:25 America/Denver] PHP Parse error: syntax error, unexpected '{' in /home3/webex/public_html/mmm/mar/views/mail.php on line 1

[19-May-2013 04:57:31 America/Denver] PHP Parse error: syntax error, unexpected '{' in /home3/webex/public_html/mmm/mar/views/mail.php on line 1

[19-May-2013 04:57:36 America/Denver] PHP Parse error: syntax error, unexpected '{' in /home3/webex/public_html/mmm/mar/views/mail.php on line 1

請告訴我出錯的問題?

+0

這是爲我工作.. –

+0

http://codepad.org/6wiG5GAg工作將代碼複製 – underscore

+0

在此之前,必須有更多的代碼。我們可以看到嗎? –

回答

0

打開其他文本編輯器,並刪除所有非ASCII或非unicode字符是出現在那裏,而(可能)通過Skype

相關問題