<?php require_once "conf/top.php"; //$user = new User($_SESSION['user_session']); include_once 'models/class.Cours.php'; if (!empty($_REQUEST['did']) && !empty($_REQUEST['cid'])) { $cours = new Cours($_REQUEST['cid']); $cours->delierCours($_REQUEST['did'], $_REQUEST['cid']); $session->redirect('mes_cours.php'); }