Select The Check Boxes Coming From 2 Database Tables In Edit Screen

Hi,

I want to select(be checked) check boxes from coming from 2 related database tables. I added 2 images regarding this.

Your help is highly appreciated.

Thank you!

this might help you

http://www.yiiframework.com/forum/index.php/topic/41616-checkboxlist-checked-on-update-time/