Hi,
Can you .= stuff to a block of heredoc syntax? I've been trying to get the following to work and I keep getting errors. I don't know if it's just a typo or whether it's not possible to do what I'm wanting. Here's the code:
$indForm =
echo "<p>Here is the group of forms in your packet: " . $linkString["indLink"] . $linkString["famLink"] . $linkString["saLink"] . $linkString["sibLink"] . "</p>";
$indForm .= <<< INDFORM
<!-- Form begins here -->
<p>Individual Form</p>
<form action="$thisFile" method="post" name="indform" enctype="multipart/form-data" >
* NDSC Member? <select name="Membership Status">
<option value="">
<option value="Yes">Yes
<option value="No">No
</select><br><br>
Your Name (First) <input type="text" name="firstName" id="firstName" size="47"><br><br>
Your Name (Last) <input type="text" name="lastName" id="lastName" size="47"><br><br>
<p><input type="submit" name="submit" id="submit" value="Add This Registrant"></p>
</form>
<!-- Form ends here -->
INDFORM;