>
> <table>
>   [$ if ($show_colour == 1) $]
>     <tr style="color:blue;">
>   [$ else $]
>     <tr>
>   [$ endif $]
>

Embperl 2.0 requries you to nest if and table/tr properly, that means the
above code will not work corretly anymore.

Use

<tr  [$ if ($show_colour == 1) $]style="color:blue;"[$ endif $]>

instead. This is by design and not a bug. (also Embperl could give better
diagnostics, instead of doing the wrong thing)

Gerald


-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to