in the meentime I tried to look why the foreach-loops puts out an error.
I change the script with the checkboxes in this to look that the array is filled correctly.

<form action="form_test2.php" enctype="multipart/form-data">
gesamt l&ouml;chen &nbsp;&nbsp;
for ($i=0;$i<=5;$i++)
//echo "<input type='checkbox' name=\"ids[]\" value=".$i.">";

$ids[] = $i;

//$user_id = $aus_konto["kontoinp"];
//echo "<input type='checkbox' name='aus_id[]' value='$user_id'>";
<input type="submit" value="ausf├╝hren">
<input type="reset" value="abbrechen">

I still have problems with the foreach-loop
Here the actually error:
*Warning*: Invalid argument supplied for foreach() in */www/htdocs/<scriptdirectory>/form_test2.php* on line *11

Ruprecht Helms

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to