can any one show how to put HTML in Heredoc Syntax
<p>How do put htmlcode in heredoc syntax.  With in this HTML i May have some PHP Variables needs to be interpreted 
and Some PHP loops needs to be executed .How Do i do all this can any one show an example </p>

<pre><code>$con = &lt;&lt;&lt;EOC
&lt;style type="text/css"&gt;
.tddata {color:#330000;border-width:0px;font-family:Arial;font-size:12pt;font-weight:bold}
.tdheading {color:#FF0000;border-width:0px;font-family:Arial;font-size:12pt;font-weight:bold"}
&lt;/style&gt;
&lt;/head&gt;
&lt;table border="0" width="500"&gt;
 &lt;tr&gt;
  &lt;td colspan ="5" style="color:#FF0000;border-width:0px;font-family:Arial;font-size:12pt;font-weight:bold" nowrap&gt;{ $_REQUEST ['SOMEPHP']; }&lt;/td&gt;
  &lt;td style="color:#FF0000;border-width:0px;font-family:Arial;font-size:12pt;font-weight:bold" nowrap&gt;This report was created on &lt;?php echo (date('d-M-Y')?&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;/table&gt;

&lt;table border="1" width="700"&gt; 
&lt;tr&gt;
&lt;td class="tddata" bgcolor="#808080" colspan="1"&gt;Mode&lt;/td&gt; 
&lt;td class="tddata" bgcolor="#808080"&gt;&lt;?php  echo $_POST['MODE'] ;?&gt;&lt;/td&gt; 
&lt;td class="tddata" bgcolor="#808080"&gt;Type&lt;/td&gt; 
&lt;td class="tddata" bgcolor="#808080" colspan="1"&gt;&lt;?php  echo $_POST['TYPE'] ;?&gt;&lt;/td&gt; 
&lt;/tr&gt;
EOC
</code></pre>
