Hi,

if you know the number of rows you can add something like

[$if $row == $numrows $]
....
[$endif$]

Since your example seems to be the output of DBIx::Recordset, I would write
it as:

> <table>

[$ while $r = $set -> Next $]

>  <tr>
>    <td class="center"><input type="checkbox" name="kill" value="[+ $r ->
{id} +]" align="top"></td>
>    <td class="center"><a href="[+$path+]?site=change&did=[+ $r -> {did}
+]">[+ $r -> {did} +]</a></td>
>    <td>[+ $r -> {kundennummer} +]</td>
>  </tr>

[$endwhile$]

# Here you can insert anything at the end of the table

> </table>
>

It's not much more to write, but it is more clear to the reader what's going
on here

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