Remplissage de la BDD + modification de colonnes.

This commit is contained in:
antux18 2023-07-11 12:24:33 +02:00
parent ddb7fb8f6f
commit 74710556f7
3 changed files with 4 additions and 4 deletions

View File

@ -45,8 +45,8 @@
} }
$data = [ $data = [
"infos" => $article["infos"], "answer" => $article["answer"],
"place" => $article["place"] "location" => $article["location"]
]; ];
header("Content-Type: application/json; charset=utf-8"); header("Content-Type: application/json; charset=utf-8");

View File

@ -64,8 +64,8 @@
<article> <article>
<?php if ($solved) : ?> <?php if ($solved) : ?>
<p><?= $tr["article"]["success"] ?></p> <p><?= $tr["article"]["success"] ?></p>
<p><?= $article["infos"] ?></p> <p><?= $article["answer"] ?></p>
<p><?= $article["place"] ?></p> <p><?= $article["location"] ?></p>
<?php else : ?> <?php else : ?>
<p><?= $tr["article"]["message"] ?></p> <p><?= $tr["article"]["message"] ?></p>
<p></p> <!-- Emplacement du message d'erreur JS concernant la caméra. !--> <p></p> <!-- Emplacement du message d'erreur JS concernant la caméra. !-->

Binary file not shown.