perlでいう、 print <<EOF 〜 EOF; みたいな書き方をすればいいよね。
<table><tr><td><?php 〜 ?></td><td><?php 〜 ?></td></tr></table>
みたいな書き方をするから汚くなってくるんじゃないの?