T1703271447

This commit is contained in:
Leander
2017-03-27 14:48:02 +02:00
parent b2a6974287
commit 089afaa610
2 changed files with 6 additions and 5 deletions

View File

@@ -6,12 +6,12 @@
* Time: 14:07
*/
include_once includes.inc.php;
require_once('includes.inc.php');
$uid = $_GET['uid'];
$length = ($_GET['length'] && gettype(+$_GET['length']) == 'integer') ? +$_GET['length'] : 10;
$questions_count = Database::query('SELECT COUNT(*) FROM "QUESTIONS"');
$database = new Database();
$questions_count = $database->query('SELECT COUNT(*) FROM "QUESTIONS"');
echo $questions_count;
?>
?>