1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-06-25 12:57:22 +02:00

Phase 4 & fin des correspondances

This commit is contained in:
galaxyoyo
2019-09-24 00:12:33 +02:00
parent b0ea84c4c0
commit 22c90369e8
15 changed files with 340 additions and 24 deletions

View File

@ -61,7 +61,7 @@ class Question
ensure($from->getProblem() == $to->getProblem(), "Les deux équipes doivent travailler sur le même problème.");
$req = $DB->prepare("SELECT * FROM `questions` WHERE `from` = ? AND `to` = ?;");
$req = $DB->prepare("SELECT * FROM `questions` WHERE `from` = ? AND `to` = ? ORDER BY `from`;");
$req->execute([$from->getId(), $to->getId()]);
$questions = [];