Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这行代码我不断收到这个语法错误。
$subject = 'Message - General Inquiry from '.$field_name' with the email of '.$field_email;
有人可以帮忙吗?
$subject = 'Message - General Inquiry from '.$field_name.' with the email of '.$field_email;
您.在$field_name. 另一方面,如果您只使用插值,则不必担心.运算符:
.
$field_name
$subject = "Message - General Inquiry from $field_name with the email of $field_email";