checkboxlist saves as an array in database


<?php echo $formCustomer->checkBoxList($model, ‘services’, array(‘2D Drafting’ => ‘2D Drafting’, ‘3D Model’ => ‘3D Model’, ‘PPAP Documentation’ => ‘PPAP Documentation’, ‘CNC Programming’ => ‘CNC Programming’, ‘Jigs & Fixture Design’ => ‘Jigs & Fixture Design’, ‘Process Sheet with 2D Drafting’ => ‘Process Sheet with 2D Drafting’)); ?>

When i save this, it saves as Array in database

Checkboxes all with the same name with post the data as an array.

You should be using a radio list.