> [$ if ($background eq 1) $]<tr style="background: #ccc;">[$ > else >$]<tr>[$ endif $] > [- $background = !$background -]
I had a simlar problem when I upgraded from 1.3 to 2.0. You should honor the table structure first and fit conditions or loops around it. I.e. you should arrange the ifs and loops so that when they are removed, the table structure should make sense. I.e. <table>[$if$]<tr>...</tr>[$endif$]</table> => Removing [$if$][$endif$] should make a proper table. A simple fix will be like: <tr [$ if ($background eq 1) $]style="background: #ccc;"[$ endif $]> Just my 2 pence. Regards, Ben Kim Database Developer/Systems Administrator 434E Harrington Tower / College of Education Texas A&M University --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]