<? $options = array(); $module =''; include '../class/AccueilModules.php'; foreach($_POST as $module => $valeur){ AccueilModules::updateModule($module, array('visibility'=>$valeur)); } echo "1"; ?>