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
$con = <<<EOC
<style type="text/css">
.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"}
</style>
</head>
<table border="0" width="500">
<tr>
<td colspan ="5" style="color:#FF0000;border-width:0px;font-family:Arial;font-size:12pt;font-weight:bold" nowrap>{ $_REQUEST ['SOMEPHP']; }</td>
<td style="color:#FF0000;border-width:0px;font-family:Arial;font-size:12pt;font-weight:bold" nowrap>This report was created on <?php echo (date('d-M-Y')?></td>
</tr>
</table>
<table border="1" width="700">
<tr>
<td class="tddata" bgcolor="#808080" colspan="1">Mode</td>
<td class="tddata" bgcolor="#808080"><?php echo $_POST['MODE'] ;?></td>
<td class="tddata" bgcolor="#808080">Type</td>
<td class="tddata" bgcolor="#808080" colspan="1"><?php echo $_POST['TYPE'] ;?></td>
</tr>
EOC