hello
I have checkbox to display the months .Is good in the insert form But in the update form I want the months that have been checked in the insert form ,have checked in the update form
i used this code to dispaly check boc
<?php foreach ($months as $key => $value) { ?>
<input type="checkbox" name="months[]" id="months" value="<?php echo $key; ?>" style="text-align:right; direction:rtl; ">
<?php } ?>