<?php
$mdp = $_COOKIE["mdp"];
$ACdemnum = $_GET["ACdemnum"];
if ( $mdp == '' ) { echo 'no mdp';}
//if ( $mdp == '' ) { header('Location: /getcookie.php'); }
//exit();

if ( $ACdemnum == '' )  {$quoi='Demandes Creation';$action = 'creer'; }
if ( $ACdemnum > 0 )  {$quoi='Demandes Modification' ; $action = 'modifier';  }

include ('log.php');
//$privilege = $_SESSION['privilege'];



include('connect.php');
$result = mysqli_query($conn, "SELECT * FROM ACdemandes WHERE ACdemnum LIKE '$ACdemnum' ");
$counter = 1;
while($row = mysqli_fetch_assoc($result)) {
	$demande = $row["demande"];
	$contact1 = $row["contact1"];
	$contact2 = $row["contact2"];
	$contact3 = $row["contact3"];
	$resp = $row["resp"];

	
}


mysqli_close($conn);


?>









<!DOCTYPE html>
<html>
<head>
<title>index html</title>
<link rel="stylesheet" type="text/css" href="style1.css">
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>

<body  bgcolor="#111111">>
<center>


<br>

<form action="acrecherche1moteur.php" method="post">


 <p class ="Liseret3">Recherche<input type="text" name="recherche1" /></p>
 
   <p><input type="hidden" name="ACdemnum" value="<?php echo $ACdemnum; ?>"/></p>
 
  <p class="BoutonRouge"  ><input type="submit" value="Enregistrer"></p>
 
 </form>
 




</body>
</html>

















