Multiple selected value not coming ListBox

This is my view

<div class="row">

<?php echo $form->labelEx($model,‘Language’); ?>

<?php echo $form->listBox($model,‘listbox’,array(‘PHP’=>‘PHP’,‘ASP’=>‘ASP’),array(‘multiple’ => ‘multiple’)); ?>

<?php echo $form->error($model,‘listbox’); ?>

</div>

[b]This is my contoller

[/b]

$model=$this->loadModel($id);

if(isset($_POST[‘Name’]))

{

$model->attributes=$_POST[‘Name’];

foreach ($model[‘listbox’] as $key => $value) {

$list[]="$value";

}

foreach ($model[‘checkbox’] as $key => $value) {

$checkbox[]="$value";

}

$language=implode(’, ',$list);

$package=implode(’, ', $checkbox);

$model->listbox=$language;

$model->checkbox=$package;

if($model->save())

$this->redirect(array(‘view’,‘id’=>$model->iId));

}

$this->render(‘update’,array(

‘model’=>$model,

));