> >>> <p>Which of the following pets do have at home: > >>> <br /><input type="checkbox" name="favourite[]" value="dog">dog > >>> <br /><input type="checkbox" name="favourite[]" value="cat">cat > >>> <br /><input type="checkbox" name="favourite[]" value="snake">snake > >>> <br /><input type="checkbox" name="favourite[]" value="other">snake > >>> <br /><input type="checkbox" name="favourite[]" value="none">none of > >>> these > >>> </p> > > [snip] > >> I don't know if this works in PHP as well. > > It is a "checkbox" so it won't work without "[]" in PHP. > > > > It will work without []. It will just not be an array. > > For checkboxes you could use it without [] but then it would be more like > a radio button. Or you could use it with different names in name="". > Surely parsing the final checkbox would overwrite any previous ones unless they were clearly identifiable as different. George -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php