Voilà, je duplique un code qui marchait bien avec une autre table de ma bdd, mais avec cette nouvelle table, je n'arrive pas à afficher mes données
Voici mon code
<html>
<body bgcolor=#b9defc">
<table width="650" ALIGN=center border="0">
<th>
</th>
</table>
<br>
<?php
$cnx = mysql_connect("", "", "");
$db = mysql_select_db("chess32");
$sql = "select tournoi, ronde, annee, club_dep, club_rec, joueur_dep1, joueur_dep2, from 'nationale_regionale' where tournoi like'Nationale 3'";
$requete = mysql_query($sql, $cnx);
echo( "<table border=\"1\" width=\"650\" cellpadding=\"1\" cellspacing=\"1\" align=\"center\">\n" );
echo( "<tr>
<td bgcolor=\"#d3d3d3\" width=\"100\"><div align=\"center\">Tournoi</div></td>
<td bgcolor=\"#d3d3d3\" width=\"100\"><div align=\"center\">Ronde</div></td>
<td bgcolor=\"#d3d3d3\" width=\"50\"><div align=\"center\">Année</div></td>
<td bgcolor=\"#d3d3d3\" width=\"100\"><div align=\"center\">club dep</div></td>
<td bgcolor=\"#d3d3d3\" width=\"100\"><div align=\"center\">club rec</div></td>
<td bgcolor=\"#d3d3d3\" width=\"100\"><div align=\"center\">joueur 1 dep</div></td>
<td bgcolor=\"#d3d3d3\" width=\"100\"><div align=\"center\">joueur 1 dep</div></td>
</tr>" );
echo( "<tr>\n" );
echo( "<td bgcolor=\"#ffffff\"><div align=\"center\">".$result["tournoi"]."</div></td>\n" );
echo( "<td bgcolor=\"#ffffff\"><div align=\"center\">".$result["ronde"]."</div></td>\n" );
echo( "<td bgcolor=\"#ffffff\"><div align=\"center\">".$result["annee"]."</div></td>\n" );
echo( "<td bgcolor=\"#ffffff\"><div align=\"center\">".$result["club_dep"]."</div></td>\n" );
echo( "<td bgcolor=\"#ffffff\"><div align=\"center\">".$result["club_rec"]."</div></td>\n" );
echo( "<td bgcolor=\"#ffffff\"><div align=\"center\">".$result["joueur_dep1"]."</div></td>\n" );
echo( "<td bgcolor=\"#ffffff\"><div align=\"center\">".$result["joueur_dep2"]."</div></td>\n" );
echo( "</tr>\n" );
echo( "</table><br>\n" );
?>
<tr align="center">
<form name="retour" action="http://www.chess32.tonsite.biz/index.php?file=News" method="POST">
<td colspan="2" align="center"><input type="submit" value="retour" ></td>
</tr>
</form>
<br>
</html>
quelqu'un peut me dire ou peut se trouver mon erreur ?le nom de ma table est "nationale_regionale"
ma bdd est "chess32"
ben voilà, j'ai trouvé après beaucoup de recherche, il fallait que je rajoute la fonction "mysql_fetch_array"