Zitat: Unterschied zwischen den Versionen

 
(16 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
−
<html>
+
[[file:001z.jpg]]
−
<?php
 
−
$allqts = array
 
−
    ("The Black Knight Always Triumphs!", "Monty Python",
 
−
        "Halleluja!", "God"
 
−
        );
 
  
−
$totalqts = (count($allqts)/2);
+
test
  
−
$nmbr = (rand(0,($totalqts-1)));
+
[[category:Zitate]]
−
$nmbr = $nmbr*2;
 
−
 
 
−
$quote = $allqts[$nmbr];
 
−
        $nmbr = $nmbr+1;
 
−
$author = $allqts[$nmbr];
 
−
 
 
−
$space = ".";
 
−
$comments = "hu";
 
−
 
 
−
echo "$quote<br>";
 
−
echo "$space $author";
 
−
echo "$comments";
 
−
?>
 
−
</html>
 

Aktuelle Version vom 27. November 2021, 01:29 Uhr

001z.jpg

test