Hi I've checkboxes understood to be such:

"languages" => array("name" => "languages",
"title" => "Languages","description" => "",
"style" => "checkboxes","options" => array("1" => "option1","2" => "option2")),

they display fine using:

foreach($meta_box['options'] as $radio_value) { 
echo '<input type="checkbox" name="'.$meta_box['name'].'_value'.'"
value="'.$radio_value.'"'; if ($meta_box_value == $radio_value) { echo ' 
checked="yes"'; } echo '/> '.$radio_value. '<br/>';

Now I have to save them.

I'm by using this code in order to save the rest of the fields, but naturally it'll only save the final checked checkbox:

if(get_post_meta($post_id, $meta_box['name'].'_value') == "")
   add_post_meta($post_id, $meta_box['name'].'_value', $data, true);
elseif($data != get_post_meta($post_id, $meta_box['name'].'_value', true))
   update_post_meta($post_id, $meta_box['name'].'_value', $data);
elseif($data == "")
  delete_post_meta($post_id, $meta_box['name'].'_value', get_post_meta($post_id, $meta_box['name'].'_value', true));

Wouldso would i fix this in order to save all of the checked checkboxes.

Thanks ahead of time for just about any help