hallo,
WÄHREND ($nextRow) {
$idinvoice [$j] = $result->field („idinvoice ");
$invoice [$j] = $result->field („Rechnung ");
$amount [$j] = $result->field („Menge ");
$idpayment [$j] = $result->field („idpayment ");
$cheque_no [$j] = $result->field („cheque_no ");
$pdatetime [$j] = $result->field („pdatetime ");
$username [$j] = $result->field („username ");
$n++;
$nextRow = $result->nextRow ();
}