How can I solve a PHP syntax error that I receive when parsing html code?
<p>Trying to print out some html forms but I get a parsing syntax error.  I believe it gets stuck on the SERVER[PHP_SELF] but I'm not sure.  How can I get this to echo correctly?</p>

<p>Error occurs on the SERVER[PHP_SELF] line</p>

<p>Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING</p>

<pre><code>function drawbuttons()
{

echo &lt;&lt;&lt;EOT
&lt;table&gt;
&lt;tr&gt;&lt;td&gt; 
&lt;form action="&lt;?=$_SERVER['PHP_SELF'];?&gt;" method="post"&gt;
&lt;input type="submit" name="previous" value="Previous" STYLE="font-size:12pt; background-color:00BFFF; color:ffffff"&gt;";
&lt;/form&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;form action="&lt;?=$_SERVER['PHP_SELF'];?&gt;" method="post"&gt;
&lt;input type="submit" name="next" value="Next"STYLE="font-size:12pt; background-color:00BFFF; color:ffffff"&gt;
&lt;/form&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
EOT;
}
</code></pre>
