It is more like :
<? IF checkvar == 'blah' ?>
<td>Blah text :</td><td><? var1 ?></td>
<td>Blah2 text :</td><td><? var2 ?></td>
............<tr> from time to time ................
<td>BlahX text :</td><td><? varX ?></td>
<? END ?>
So this will not help much... and it has to be done on the designer side (i
don't want to touch texts i'm giving just the var's)
Thanx anyway......
| > It is a little bit more complex, but U get the idea, Depending on
| > 'checkvar' text is different but variables stays the same... (Using
| > IF's in this seems very ugly ) Probably some combination of WRAP and
| > BLOCK, but still can;t figure out !!!
|
| Maybe it's too complicated for this, but creating a hash with your
| 'checkvar' as the key and the text as the value would seem to be the
| easiest way to do this:
|
| <? showtext = { blah = 'Blah text', hoho = 'Hoho text', ... } ?>
| <td><? showtext.$checkvar ?></td><td><? var1 ?></td>
|
| Chris