par
TiFred » 04 nov. 2008, 18:37
Voilà un bout du code :
$req2 = Envoierequette($db,"SELECT * FROM jeu1_pays") ;
while($data = mysqli_fetch_assoc($req2))
{$pays2 = $data[@pays] ; $text = $data[@text] ;
echo "<tr><td><b>$pays2</b></td><td>" ;
echo"<br />SELECT * FROM jeu1_palmares WHERE saison='".$i."' and joueur='' and (type like 'Champ. ".substr($pays2,0,1)."%' or type='Coupe ".AjoutSlash($text)."') ORDER BY type" ;
$req3 = Envoierequette($db,"SELECT * FROM jeu1_palmares WHERE saison='".$i."' and joueur='' and (type like 'Champ. ".substr($pays2,0,1)."%' or type='Coupe ".AjoutSlash($text)."') ORDER BY type") ;
Merci
Voilà un bout du code :
[php] $req2 = Envoierequette($db,"SELECT * FROM jeu1_pays") ;
while($data = mysqli_fetch_assoc($req2))
{$pays2 = $data[@pays] ; $text = $data[@text] ;
echo "<tr><td><b>$pays2</b></td><td>" ;
echo"<br />SELECT * FROM jeu1_palmares WHERE saison='".$i."' and joueur='' and (type like 'Champ. ".substr($pays2,0,1)."%' or type='Coupe ".AjoutSlash($text)."') ORDER BY type" ;
$req3 = Envoierequette($db,"SELECT * FROM jeu1_palmares WHERE saison='".$i."' and joueur='' and (type like 'Champ. ".substr($pays2,0,1)."%' or type='Coupe ".AjoutSlash($text)."') ORDER BY type") ;
[/php]
Merci