Files
MYSOPHAL/front/drh.boite.form.php
2025-08-07 13:15:31 +01:00

39 lines
864 B
PHP

<?php
if (!defined('GLPI_ROOT')) {
define('GLPI_ROOT', dirname(__DIR__));
}
include_once GLPI_ROOT . '/inc/based_config.php';
// Init Timer to compute time of display
$TIMER_DEBUG = new Timer();
$TIMER_DEBUG->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();
?>