Hi,

why this works:


<TABLE BORDER WIDTH=100%>
[$ while ( @data = $sth->fetchrow_array() ) $] 
                <TR>
                        <TD> <A HREF="firma/firma.html.epl?Id=[+ $data[3] 
+]">[+ $data[0] +]</A> </TD>
                        <TD> [+ $data[1] +] </TD>
                        <TD> [+ $data[2] +] </TD>
                </TR>   
[$ endwhile $]  
</TABLE>

an this works not, special the <TR></TR> tags are not in the html output.

<TABLE BORDER WIDTH=100%>
[$ while ( ((++$cnt)< 5) && (@data = $sth->fetchrow_array()) ) $] 
                <TR>
                        <TD> <A HREF="firma/firma.html.epl?Id=[+ $data[3] 
+]">[+ $data[0] +]</A> </TD>
                        <TD> [+ $data[1] +] </TD>
                        <TD> [+ $data[2] +] </TD>
                </TR>   
[$ endwhile $]  
</TABLE>


regards,
 Torsten

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

Reply via email to