0

我如何才能为电子邮件中的每个变量添加标题。我试过了:

$message .= First Name: $fname;

但不起作用。

$message .= $fname;
$message .= $lname;
$message .= $gname;
$message .= $license;
$message .= $myusername;
$message .= $floor;
$message .= $spot;
4

1 回答 1

0

you need to concatenate the strings like so

$message .= 'First Name: '. $fname; 

you should read the section in the manual on strings

于 2013-07-10T01:54:05.467 回答