Well, sir, I think if you've got your html inside php tags, then you need to:
echo("html stuff here");
Don't forget that if you are going to use doublequotes for the echo, then you either have to escape or get rid of the doublequotes in the body of the html, lest you should error out.
echo("<a href=\"http://www.domain.com\">I'm a link!</a>");
See what I mean?
Your other alternative is to get rid of the lower php tags, and just use them where you need to print a value
<tr>
<td>
<?php echo $value; ?>
</td>
</tr>
thanks,
json