I just noticed:
PHP Code:
do {
echo '<tr bgcolor=$bgcolor>
<td height="19" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>' ?>
Shouldn't there be a trailing
; here aswell??
Else I can't seem to find what should be wrong with your code. Perhaps changing every
' to
" and visa versa.. To make sure echo is having a string as it's argument.