Add uebung10

This commit is contained in:
2019-07-11 12:45:46 +02:00
parent 24aeae1df8
commit b75da65cd3
12 changed files with 468 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
<?php
require_once(__DIR__ . '/Database.php');
$db = new Database();
$n = 0;
if (isset($_GET['n'])) {
$n = $_GET['n'];
}
$questions = $db->getQuestions($n);
$questionsobj = json_encode($questions);
echo($questionobj);
?>