hi how can validate multiple check box in server side
dynamically retrieve the check box elements in view pages
here is the view code
<?php
$ji = -1;
$count = 0;
foreach($categorynames->result() as $row)
{ $count++;$ji++; ?>
<input type="checkbox" name="approve[]" id="approve<?=$ji;?>"
value="<?php echo $row->consult_cat_id; ?>" >
</strong><?php echo $row->consult_cat_name; ?></span></td>
<?php if($count%2 == 0) {?>
<?php } }?>please hep me thx