[php]
echo "
[/php]
The problem is that you're using double quotes inside double quotes (and you also forgot to end the statement properly). PHP thinks you've finished echoing, when you obviously haven't. Just change the outer pair to single quotes, like so:
[php]
echo '
[/php]
and obviously the closing ".; to '; (why was that . there in the first place??)
Another solution is slightly simpler - get rid of the echo altogether, and close the php with ?> just before your table code, and <?php again afterwards.
Infact, I recommend you only use double quotes when neccessarily, as they add to execution time - the difference is as follows:
[php]
$var = 'cool';
echo "The var is: $var"; // It returns: The Var is: cool
echo 'The var is: $var'; // It returns: The Var is: $var
[/php]
So, with double quotes, the parser checks for any variables inside, which very slightly slows things down.