Cut-and-paste to a file and going:
php -l -f test.php
Parse error: parse error, unexpected T_STRING in test.php on line 19
Where line 19 is the one that starts
<td width=35% va
But looking at the syntax highlighting it is clear what the problem is; everything in that echo should be red to indicate that it is all one string, not what it is now. Seeing as the string is single-quoted, the single quotes should be escaped, not the double quotes. But then the variables wouldn't work any more.
There are at least three other options; here's one:
echo <<<EOF
<table border=0 width=100% cellspacing=0 cellpadding=0>
<tr onmouseover="this.bgColor='#FFFFFF'" onmouseout="this.bgColor='#ededed'">
<td width=35% valign=top><p align=left><img src= 'http://www.urbancanada.com/images/$STATUS.jpg' alt='Building Status: $STATUS - Click for more info!' border= '0'> <B>$i</B> <a href=urbanca.php?page=building&buildingid=$row[buildingid]><font face=Arial style= 'font-size: 8pt'>$row[name]</B></a></font></b></td>
<td width=13% valign=top><font face= 'Arial' style= 'font-size: 8pt'><center>$row[height_m] m</font></b></td>
<td width=13% valign=top><center><font face=Arial style= 'font-size: 8pt'>$row[floors]</font></b></td>
<td width=13% valign=top><center><font face=Arial style= 'font-size: 8pt'>$row[STATUS]</font></b></td>
<td width=13% valign=top><center><font face=Arial style= 'font-size: 8pt'>$row[structural_type]</font></b></td>
<td width=13% valign=top><center><font face=Arial style= 'font-size: 8pt'>$row[year]</font></b></td>
</tr>
</table>
EOF;