Re: [PHP-DB] Problems by transfer of arrayed formfield

2006-02-13 Thread Ruprecht Helms

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.




Test



gesamt löchen   
";

$ids[] = $i;

//$user_id = $aus_konto["kontoinp"];
//echo "";
}
?>




I still have problems with the foreach-loop
Here the actually error:
*Warning*: Invalid argument supplied for foreach() in 
*/www/htdocs//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



Re: [PHP-DB] Problems by transfer of arrayed formfield

2006-02-12 Thread antispo
r1.php

> 
>
> 
> for($i=1; $i<=5; $i++) {
>  echo "";
> }
>
>
> ?>
>
> 
>
> 
>
r2.php



..iterate trough the submited array with foreach instead of for...


Re: [PHP-DB] Problems by transfer of arrayed formfield

2006-02-12 Thread Ruprecht Helms

Hi antispo,






Test





";

?>







Ok I clickt on the 1st and 3rd checkbox. I stored the value of $i as 
value into the checkbox-array. The result should be 0 2, but I does not 
get an result. The only I get is an empty page.


Regards,
Ruprecht

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



Re: [PHP-DB] Problems by transfer of arrayed formfield

2006-02-12 Thread antispo




Test





";

?>