所以我有一些 PHP,我试图从前一页的表单中引入一些数据,并在这个 <<
$firstname = echo $_POST["firstname"];
$email = echo $_POST["email"];
$data = <<<STRING
<contact>
<Group_Tag name="Contact Information">
<field name="First Name">$firstname</field>
<field name="E-Mail">$email</field>
</Group_Tag>
</contact>
STRING;