Hi,
This is the error im getting..
Parse error: parse error, unexpected T_STRING on line 156
This is the code..
<?php
$sql="select block_name, block_content from blocks";
# execute the query
$rs_blocks = $DB->Query( $sql);
#write the data
$content = "";
while( $row = $DB->FetchAssoc( $rs_blocks ) )
{
$content .= "
<table cellpadding='0' cellspacing='0' style='border-collapse: collapse' bordercolor='#111111' id='AutoNumber1' width='157' height='204'>
<tr>
<td width='174' style='color: #000000' background='".$block_top."' height='36'>
<center><font color='\# ".$box_title_color."'><b>".nl2br($row['block_name'])."</b></font></center></td>
</tr>
<tr>
<td width='155' background=' ".$block_bg." ' style="color: \#' ".$box_text_color." ' height='164'> // THIS IS LINE 156!!//
<ul>
".nl2br($row['block_content'])."
</ul>
</td>
</tr>
<tr>
<td width='155' height='2' style='color: \#000000' background='".$block_bottom."'></td>
</tr>
</table>
";
}
return $content;
?>
Any Help Would be appreciated.