[eluser]Mitja[/eluser]
Code:
data_update = array(
'title' => $_POST['title'] ,
'slug' => $_POST['slug'] ,
'description' => $_POST['description'] ,
'is_shot' => $db_is_shot ,
'is_vip' => $db_is_vip ,
'is_extreme' => $db_is_extreme ,
'where_is' => $_POST['where_is'] ,
'when_start' => $_POST['when_start'] ,
'when_end' => $_POST['when_end'] ,
'price_eur' => $_POST['price_eur'] ,
'price_eur_simobil' => $_POST['price_eur_simobil'] ,
'departure_type' => $_POST['departure_type'] ,
'arrival_type' => $_POST['arrival_type'] ,
'duration_in_hour' => $_POST['duration_in_hour'] ,
'status_text' => $_POST['status_text'] ,
'price_includes' => $_POST['price_includes'] ,
'simobil_ringtone' => $_POST['simobil_ringtone'] ,
'simobil_wallpaper' => $_POST['simobil_wallpaper'] ,
'simobil_theme' => $_POST['simobil_theme'] ,
'programme' => $_POST['programme'] ,
'number_of' => $_POST['number_of']
);
$this->db->where('arrangement_id', $_POST['arrangement_id']);
$this->db->update('arrangement', $data_update);