Merge branch 'main' of git.ale-pri.com:LesBikers/DeezCycle

This commit is contained in:
2024-04-18 13:12:46 +02:00
2 changed files with 40 additions and 8 deletions

View File

@@ -1,5 +1,10 @@
<?php
function getJoueursPartie(int $idpartie)
{
return get_infos_requete("SELECT * FROM joue JOIN joueur J USING(idjoueur) WHERE joue.idpartie = " . $idpartie . " ORDER BY rang")['instances'];
}
function getCardsName(int $idpartie)
{
$cartes = get_infos_requete("SELECT img FROM carte JOIN est_compose USING(idcarte) JOIN partie USING(idplateau) WHERE idpartie = " . $idpartie . " ORDER BY rang")['instances'];