T1703271423

This commit is contained in:
Leander
2017-03-27 14:24:14 +02:00
parent dab0782d2e
commit b54ede5ca4
2 changed files with 15 additions and 1 deletions

View File

@@ -42,7 +42,7 @@ class Database
function create_status_code($error) {
switch ($error) {
case 0:
return 'Success';
return 'Success.';
case 10101:
return 'SQL statement did not give a result.';
case 11101:

14
start.php Normal file
View File

@@ -0,0 +1,14 @@
<?php
/**
* Created by PhpStorm.
* User: leanderschmedemann
* Date: 27/03/2017
* Time: 14:07
*/
$uid = $_GET['uid'];
$length = ($_GET['length'] && gettype(+$_GET['length']) == 'integer') ? $_GET['length'] : 10;
echo gettype($length);
?>