Compare commits
No commits in common. "master" and "v0.1a-LD" have entirely different histories.
@ -9,22 +9,5 @@
|
|||||||
// Auteur : Pascal.Blain@ac-dijon.fr '
|
// Auteur : Pascal.Blain@ac-dijon.fr '
|
||||||
//*****************************************'
|
//*****************************************'
|
||||||
|
|
||||||
$action = $_REQUEST['action'];
|
|
||||||
switch($action) {
|
|
||||||
case 'voir':
|
|
||||||
{
|
|
||||||
$formulaire ="choixP";
|
|
||||||
$champ ="lstVisite";
|
|
||||||
include("vues/v_entete.php");
|
|
||||||
|
|
||||||
//$lesLignes =$pdo->getLesVisites($_SESSION['idUtilisateur']);
|
|
||||||
include("vues/v_choixVisite.php");
|
|
||||||
|
|
||||||
|
|
||||||
$lesInfosVisite= $pdo->getInfosVisite($_SESSION['idUtilisateur'],$NumVisite);
|
|
||||||
|
|
||||||
include("vues/v_ficheVisite.php");
|
?>
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
|
@ -12,8 +12,8 @@ class PdoBD
|
|||||||
{
|
{
|
||||||
private static $serveur='mysql:host=localhost';
|
private static $serveur='mysql:host=localhost';
|
||||||
private static $bdd='dbname=gsb2022';
|
private static $bdd='dbname=gsb2022';
|
||||||
private static $user='gsbadm';
|
private static $user='sio';
|
||||||
private static $mdp='gsbadm';
|
private static $mdp='Sio2023';
|
||||||
private static $monPdo;
|
private static $monPdo;
|
||||||
private static $monPdoBD=null;
|
private static $monPdoBD=null;
|
||||||
|
|
||||||
@ -348,6 +348,6 @@ class PdoBD
|
|||||||
$rs = PdoBD::$monPdo->exec($req);
|
$rs = PdoBD::$monPdo->exec($req);
|
||||||
if ($rs === false) {afficherErreurSQL("Probleme lors de l'insertion d'un parametre dans la base de données.", $req, PdoBD::$monPdo->errorInfo());}
|
if ($rs === false) {afficherErreurSQL("Probleme lors de l'insertion d'un parametre dans la base de données.", $req, PdoBD::$monPdo->errorInfo());}
|
||||||
}
|
}
|
||||||
/** ---------------------------------------------- fin gestion des PARAMETRES*/
|
/** ---------------------------------------------- fin gestion des PARAMETRES
|
||||||
}
|
}
|
||||||
?>
|
?>
|
Loading…
x
Reference in New Issue
Block a user