Hi, using the following code produces a "document contains no data" and an error in the logfile: 9999: Error (no description) Unstrutured backward jump
The code works under the olf HTML::Embperl The "real" code is of course more complicated, it contains two SQL-querys, one replacing the "foreach"-loop and another outer loop. The "if produkt==1" part decides, if the product should be shown and the prints the headlines for the following product list, so I could not change the order of the statements. Any hints? --- cut ----------- <html> <body> <table> [$ foreach $produkt (1,2,3) $] [$ if $produkt==1 $] <tr> <th>New products:</th></tr> <tr><td> <table> [$endif$] <tr><td>[+$produkt+]</td></tr> [$endforeach$] </table> </td></tr> </table> </body> </html> --- cut ----------- Best regards, Dirk Melchers. ----------------------------------------------------------------------- Dirk Melchers NUREG Neue Medien Fon +49 911 32002-256 [EMAIL PROTECTED] Dorf�ckerstrasse 31 Fax +49 911 32002-299 http://www.nureg.de D-90427 N�rnberg Mobil +49 172 935 46 70 ----------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
