2014-06-18 15:07:24
if($order->save()){
			    	$id_order = Yii::app()->db->getLastInsertID();
			    	$builder = Yii::app()->db->schema->commandBuilder;
			    	foreach ($data_form['song'] as $key => $data_form_song_item) {
			    		$data_form_song_item['id_order'] = $id_order;
			    		$song_detail[$key] = $data_form_song_item;
			    	}
					$command = $builder->createMultipleInsertCommand('orderdetail', $song_detail);
					$command->execute();
			    }
Invalid Email or Password