Salvo Posted July 25, 2006 Share Posted July 25, 2006 Hi all From the code below, I can tick one or all, but I need only to forse one or the other.... How can I achieve this? thanks <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> Link to comment Share on other sites More sharing options...
Salvo Posted July 25, 2006 Author Share Posted July 25, 2006 Anybody? Link to comment Share on other sites More sharing options...
Salvo Posted July 26, 2006 Author Share Posted July 26, 2006 Done, Sorted... So Easy and so difficult if not known... Salvo Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.