T1703271503

This commit is contained in:
Leander
2017-03-27 15:03:52 +02:00
parent b71c2cadac
commit 8990954ab9

View File

@@ -11,8 +11,8 @@
$length = ($_GET['length'] && gettype(+$_GET['length']) == 'integer') ? +$_GET['length'] : 10;
$database = new Database();
$questions_count = $database->query('SELECT COUNT(*) FROM "Questions"')['data'];
$questions_count = $database->query('SELECT COUNT(*) FROM "Questions"')['data']['count'];
var_dump($questions_count);
echo nl2br(print_r($questions_count, true));
print_r($questions_count);
?>