<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Description" content="Site perso,cours,ouvrages" />
<meta name="Keywords" content="WEBSITE perso " />
<meta name="Distribution" content="Global" />
<meta name="Robots" content="" />
<meta http-equiv="Content-Language" content="fr" />
<meta name="rating" content="general" />
<meta name="author" content="Patrice DELPY" />
<meta name="copyright" content="Copyright 2013" />
<meta name="generator" content="Patoche" />
<title>Patoche WEBSITE - 2013 - Template du site - en cours de développemment ...</title>

<style type="text/css">
#bloc_filtre { float: left;
					width: 831px; 
					padding: 50px 50px 25px 50px;
					}	
					
#navigation_tournoi{
					float: left;
					width: 850px;
					padding: 10px 0px 0px 10px;
		}


		
</style>

</head>

<body>

<?php
	
	include('database.php');
	DB_connexion(); 
	
	//echo $_POST["joueur"];
	echo '<div id="div_joueur2">';
	echo '<p><label for="nom">Joueur2 :</label>';
	echo '<input type="checkbox" id="choix2" name="choix2" value="2">';
	echo '<select name="J2" id="J2">'; /* <!-- onchange='active()' -->*/
	if(isset($_POST["joueur"]))
	{
		$sql = "SELECT * FROM joueurs WHERE nom != '".$_POST["joueur"]."' ";
		$results = mysql_query($sql);
		while($val=mysql_fetch_array($results)) 
		{
			echo "<option>".$val["nom"]."</option>\n";
		}
	}
	echo "</select></p></div>";
	
?>	


</body>
</html>