Hi, 
> 
> I have Embedded Perl v2.2.0 and try to Execute the following Code:
> 
> --------schnipp---------------------
> <table border="1">
>       <tr><th>[  $name[$col]  ]</th></tr>
>       <tr><td>[  $$data[$row]->{$name[$col]}  ]</td></tr> </table>
> ---------schnapp--------------------
> 
> It seems that the Syntax for the <th> Tag is not defined 
> within Embperl 2.2.0. The table head is repeated for every 
> row i fetched from the Database. 
> 
> Embperl::Syntax::EmbperlHTML doesn't mention th, so maybe 
> this behavior is already known. Or is there something wrong 
> with my expression? 
>  
> I think it is an important feature, and there is still a 
> record in the documentation that it should work! 
> 

<th> is not supported in Embperl 2, use

<table border="1">
        [$if $row == 0 $]<tr><th>[  $name[$col]  ]</th></tr>[$endif$]
        <tr><td>[  $$data[$row]->{$name[$col]}  ]</td></tr> 
</table>

Should be possible to insert this into Embperl::Syntax::EmbperlHTML, but it
is not done yet.

Gerald


 
** Virus checked by BB-5000 Mailfilter ** 


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

Reply via email to