Hi,

> 
> I have a problem concerning magic tables. In earlier days, I 
> remeber that the following Embedded Perl code
> 
>   [- @ary = ( [a,b], [c,d], [e,f] ) -]
> 
>   <table>
>    <tr><th>Head1</th><th>Head2</th></tr>
>    <tr><td>[+ $ary[$row][$col] +]</td></tr>
>   </table>
> 

Embperl currently does not support the th tag, but you can write

   <table>
    [$if $row == 0 $]<tr><th>Head1</th><th>Head2</th></tr>[$endif$]
    <tr><td>[+ $ary[$row][$col] +]</td></tr>
   </table>


To workaround this

Gerald



 
** Virus checked by BB-5000 Mailfilter ** 


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

Reply via email to