<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<meta name="description" content="description"/>
<meta name="keywords" content="keywords"/>
<meta name="author" content="author"/>
<link rel="stylesheet" type="text/css" href="default.css" media="screen"/>
<title>Info-Dev</title>
</head>
<body>
<div class="outer-container">
<div class="inner-container">
<div class="header">
<div class="title">
<span class="sitename"><a href="accueil.php">InfoDev</a></span>
<div class="slogan">Site intranet de l'entreprise</div>
</div>
</div>
<div class="path">
<a href="accueil.php">Accueil</a> ›› <a href="accueil.php">Recherche d'un projet</a>
</div>
<div class="main">
<div class="content">
<?php
mysql_connect("localhost", "root", "");
mysql_select_db("infodev");
$nomproj=$_POST['nomproj'];
$wahou = mysql_query("SELECT NumClient, EtatProjet FROM projet WHERE NomProjet='$nomproj'");
while ($reponse= mysql_fetch_array($wahou))
{
echo "<table border=1>";
echo "<tr>";
echo "<td>";
echo " ";
echo $reponse['NumClient'];
echo " ";
echo " ";
echo $reponse['EtatProjet'];
echo "</td>";
echo "</tr>";
echo "</table>";
}
?>
</div>
<div class="navigation">
<h2>Info Dev</h2>
<ul>
<li><a href="accueil.php">Liste des salaries</a></li>
<li><a href="accueil.php">Horaires des salaries</a></li>
</ul>
<h2>Les projets</h2>
<ul>
<li><a href="seekprojet.php">Rechercher un projet</a></li>
<li><a href="listeprojets.php">Liste de tout les projets</a></li>
</ul>
</div>
<div class="clearer"> </div>
</div>
<div class="footer">
<span class="left">
</span>
<span class="right">
</span>
<div class="clearer"></div>
</div>
</div>
</div>
</body>
</html>