Using a Form With Variables as Part of a Function
<p>Could the form below be part of a function?  I am wondering if it might not be able to be part of a function since it has variables.  </p>

<p>Thanks in advance,</p>

<p>John</p>

<pre><code>echo '&lt;form  action="http://www...com/sandbox/comments/comments2.php" method="post"&gt; 
    &lt;input type="hidden" value="'.$_SESSION['loginid'].'" name="uid"&gt;
    &lt;input type="hidden" value="'.$submissionid.'" name="submissionid"&gt;  
    &lt;input type="hidden" value="'.$submission.'" name="submission"&gt;
    &lt;input type="hidden" value="'.$url.'" name="url"&gt;
    &lt;input type="hidden" value="'.$submittor.'" name="submittor"&gt;
    &lt;input type="hidden" value="'.$submissiondate.'" name="submissiondate"&gt;
    &lt;input type="hidden" value="'.$countcomments.'" name="countcomments"&gt;
    &lt;input type="hidden" value="'.$dispurl.'" name="dispurl"&gt;



    &lt;label class="addacomment" for="title"&gt;Add a comment:&lt;/label&gt;

    &lt;textarea class="commentsubfield" name="comment" type="comment" id="comment" maxlength="1000"&gt;&lt;/textarea&gt;  

    &lt;div class="commentsubbutton"&gt;&lt;input name="submit" type="submit" value="Submit"&gt;&lt;/div&gt; 
&lt;/form&gt;
'; 
</code></pre>
