I have to store the ids of a particular checkbox fields into one field. The values are primary keys in another table. But how will I build relation to the primary table.
The problem in nutshell
'p_additionalSoftwares' => array(self::BELONGS_TO, 'Product', 'additionalSoftwares')
Where additionalSoftwares is something like 23,45,68
How can I solve this?
Thanks is advance.