> Why does Recordset give headers with each data line?
This is not a problem of Recordset, but of your Embperl code. I guess you
are using Embperl 2.0. 2.0 doesn't recognizeds the <th> tag. So while your
code would work with 1.3, it doesn't with 2.0. Just add one if and it will
work again:
>
> <table>
[$ if $row == 0 $]
> <tr>
> <th>[+ $names -> [$col] +]</th>
> </tr>
[$endif$]
> <tr>
> [- $rec = $set[$row] -]
> <td>[+ $rec -> {$names->[$col]} +]</td>
> </tr>
> </table>
> </body>
>
Gerald
P.S. By change the if condtion to $row % 10 == 0 you get a header line each
10 rows, which is often nices if your table contains more than a few lines
-------------------------------------------------------------
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]