From 7b9d516cd3bcdb8eaa5f1eb533d71010061c681b Mon Sep 17 00:00:00 2001 From: root Date: Sun, 2 Mar 2014 00:25:34 +0100 Subject: rm stuff --- quote.php | 79 --------------------------------------------------------------- 1 file changed, 79 deletions(-) delete mode 100644 quote.php (limited to 'quote.php') diff --git a/quote.php b/quote.php deleted file mode 100644 index 8e08a3d..0000000 --- a/quote.php +++ /dev/null @@ -1,79 +0,0 @@ -query("SELECT count(*) as count FROM sprueche;"); -$row = $rows->fetchArray(); -$numRows = $row["count"]; - -if ($zufall == ""){ - $zufall = mt_rand(1,$numRows); -} - - -$safe_zufall = SQLite3::escapeString("$zufall"); -$ergebnis = $db->query("SELECT * FROM sprueche where id=$safe_zufall;"); - -echo" - -
JUNGE GEMEINDE ADLERSHOF
- ,/| _.--''^``-...___.._.,;
- /, \'. _-' ,--,,,--'''
- { \ `_-'' ' /}
- `;;' ; ; ;
- ._.--'' ._,,, _..' .;.'
- (,_....----''' (,..--''
-Es sind momentan $numRows Zitate in der Datenbank enthalten.
-Du suchst ein bestimmtes Zitat? Gib hier dessen Nummer ein: -