T1703271503
This commit is contained in:
@@ -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);
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user