function terminerTache() { //echo '<script type="text/javascript">' // , 'alert(" je fait appel a ter");' // , '</script>'; if (isset($_GET['id']) && !empty($_GET['id'])) { changerStatu($_GET['id']); echo '<script type="text/javascript">', 'document.location.replace("../View/espaceEtudiant.php");', '</script>'; exit; } }
function terminerTache() { if (isset($_GET['id']) && !empty($_GET['id'])) { changerStatu($_GET['id']); } }