Salve a tutti
Sto lavorando su un progetto ed ho bisogno di aiuto.
Lo script qui sotto, mi crea alcuni check box e si possono tickkare uno o molti.
Io pero' vorrei solo l'opzione di cliccare solo uno.
Ad esempio:
checkbox1 [v]
checkbox2 [ ]
checkbox3 [ ]
checkbox4 [ ]
se dovessi cliccare sul no. 4, quello sull'uno dovebbe sparire...
Grazie
<input <?php /* this is to see it it is in the DB */
$run_update=false; // set to false to insert new entry in the DB
if ($customers_group_id_pr) foreach ($customers_group_id_pr as $compare_checked)if ($customers_group_id[$i]===$compare_checked) {echo "checked"; $run_update=true;} ?> size="20" size="20" name="customers_group_id[]" type="checkbox" value="<?php echo $customers_group_id[$i]; ?>"></td>