2013-10-14 60 views
1

我不断收到此语法错误的这行代码。语法错误与代码Php

$subject = 'Message - General Inquiry from '.$field_name' with the email of '.$field_email; 

有人可以帮忙吗?

回答

4
$subject = 'Message - General Inquiry from '.$field_name.' with the email of '.$field_email; 
+0

由于我是一个DERP – CHASE

1

您在$field_name之后缺少.运营商。在另一方面,如果你只是用插你不必与运营商.打扰:

$subject = "Message - General Inquiry from $field_name with the email of $field_email";