updateFraisF( $value['quantité'], intval($value['montant']), $value['id'] ); } //FRAIS HORS FORFAIT foreach ($_REQUEST['fraisHF'] as $value) { if ($value['id'] == NULL) { $pdoNewFiche->addFraisHF( $value['libelle'], $value['date'], $value['montant'] ); } } break; case 'suprFraisHF': $pdoNewFiche->suprLigneHF($_GET['idFrais']); break; default: # code... break; }