'; } else { $select = ''; } $data['data'] = $select; $data['id_before'] = (int)$id_select; $data['id_select'] = (int)$select_upd; die(json_encode($data));