query('SELECT COUNT(*) FROM "Questions"')['data'][0]['count']; if($length = 0) { $error = 12101; } if($length > $questions_count) { $error = 12102; $values = array($questions_count); } $response = Database::create_response($data, $error, $values); print $response; ?>