Exercice page done with submission and confirmation

This commit is contained in:
Li Chen 2013-11-05 02:53:48 +01:00
commit 0f18ed8dcf
7 changed files with 60 additions and 5 deletions

View file

@ -28,7 +28,7 @@ class Exercice
if (!empty($res))
{
$this->files = $db->query("SELECT `id`, `path`, `name`
$this->files = $db->query("SELECT `id`, `path`, `name`, `sha1`
FROM exercice_files
WHERE id_exercice = '$id'");
$this->keys = $db->query("SELECT `id`, `format`, `value`