Hi i am very new to Yii Framework so i need your understanding My question is the following. How can i have the checkboxes at the code below checked by default ??
<?php echo CHtml::checkbox('languages[]',
in_array($val,(array)$item_data['languages'])?true:false
,array(
'value'=>$val
))?>
Thanks