[PHP] Re: array + checkbox

2001-08-06 Thread Tijmen Hennink
Very weird but it works. But it doesn't see any changes in the form. Maybe the PHP is just fine but the HTML contains some shit. Here is the part that I'm using to generate the form. if ($aanwezig == "TRUE") echo(" \n"); else

[PHP] Re: array + checkbox

2001-08-06 Thread James Holloway
Hi there Tijmen, Firstly, change the input name from this: voorraad to this: voorraad[] then do something like: "; for ($i = 0; $i < sizeof($voorraad); $i++) { if (!empty($voorraad[$i])) { echo $voorraad[$i]; } } ?> James "Tijmen Hennink" <[EMAIL PROTECTED]> wrote in messag