les pions de couleur
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
function afficher_pions($joueurs)
|
function afficher_pions($joueurs)
|
||||||
{
|
{
|
||||||
foreach ($joueurs as $joueur) {
|
foreach ($joueurs as $joueur) {
|
||||||
echo '<img src="img/pions/pion1.png" alt="pion1" width="50"/>';
|
echo '<img src="img/pions/pion' . $joueur['rang'] . '.png" alt="pion' . $joueur['rang'] . '" width="50"/>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user