start(); /// TODO try to remove them if possible include_once (GLPI_ROOT . "/inc/db.function.php"); // Standard includes include_once (GLPI_ROOT . "/inc/config.php"); /* global $DB; $stmt = $DB->prepare("INSERT INTO boite_idees (user_id , matricule, responsable, nom, prenom, fonction, structure, description, dateTime_creation) VALUES (?,?,?,?,?,?,?,?,NOW()) "); $stmt->bind_param("iissssss" , $_SESSION["glpiID"] , $_POST["matricule"] , $_POST["responsable"] , $_POST["nom"] , $_POST["prenom"] , $_POST["fonction"] , $_POST["structure"] , $_POST["description"] ); $stmt->execute(); ?>