Hi,

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.

<html>
<head>
<title>Test</title>
</head>
<body>
<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">
</form>

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

Regards,
Ruprecht Helms
*

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

Reply via email to