>
> Why doesn't this work:
> <tr[$ if ($ctr%2 != 0) $]BGCOLOR="#cccccc"[$ endif $]>
>
> Yet this works:
> <tr [$ if ($ctr%2 != 0) $]BGCOLOR="#cccccc"[$ endif $]>
>
> The only difference is the space between <tr and [$
>
> Is this a bug in Embperl or me?
>
The problem is that if the if is true you get
<trBGCOLOR="#cccccc">
and trBGCOLOR isn't a know HTML tag. So either a space before or after the
if is required.
Gerald
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]