Kalle: Checkbox Werte in Datenbank speichern

Beitrag lesen

Hallo, Ed,

das hatten wir heute doch schon !

<input type="checkbox" name="checkbox" value=".mp3">mp3<br>
<input type="checkbox" name="checkbox" value=".wma">wma<br>

<input type="checkbox" name="checkbox[]" value=".mp3">mp3<br>
<input type="checkbox" name="checkbox[]" value=".wma">wma<br>

for( $x = 0; $x < count($checkbox); $x++ ) {
  if ( $checkbox[$x] ) ...
}

So long, Kalle.