Hi,
Aber wenn ich das Formular versende, kann PHP natürlich nichts damit anfangen, weil es einen Array erwartet - und dazu fehlen die [].
Also müsste es so aussehen:
<input type="checkbox[]" name="box" value="2" /> 2
Nein, die Klammern gehoeren wie gesagt ans Ende des Feldnamens.
Jetzt funktioniert aber JavaScript nicht mehr.
http://de.selfhtml.org/javascript/objekte/elements.htm#allgemeines, Schema 4.
Wer mal selber was nachliest, muss nicht fragen.
MfG ChrisB
--
„This is the author's opinion, not necessarily that of Starbucks.“
„This is the author's opinion, not necessarily that of Starbucks.“