Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature may not be available in some browsers.
huhu,
guten tag alle samt![]()
Na dann link mir mal den Link.
Guten Tag, junge Frau!
Hab dir n schönen Text per PN geschrieben.
huhu biggi!
Hab dir n schönen Text per PN geschrieben.

PHP:<?php $ads = array( array("Katze" => "<a href=\"https://webseite1.com\"><img src=\"bild1.jpg\"></a>"), array("Katze" => "<a href=\"https://webseite2.com\"><img src=\"bild2.jpg\"></a>"), array("Katze" => "<a href=\"https://webseite3.com\"><img src=\"bild3.jpg\"></a>") ); srand ((double)microtime()*10000); $maxwert = count($ads)-1; $nr = rand(0,$maxwert); echo $ads[$nr][Katze]; ?>
<?php
$ads = array('<a href="https://webseite1.com"><img src="bild1.jpg"></a>', '<a href="https://webseite2.com"><img src="bild2.jpg"></a>', '<a href="https://webseite3.com"><img src="bild3.jpg"></a>'); // Kein assoziatives Array erstellen
//srand() ist schon seit geraumer Zeit nicht mehr nötig (ab PHP 4.2.0)
$maxwert = count($ads)-1;
$nr = mt_rand(0,$maxwert); // mt_rand ist um einiges schneller (4x) und hat einen besseren Algorithmus
echo $ads[$nr]; // [Katze] ist übrigens falsch, sollte wirklich eine Konstante "Katze" existieren, führt das zu falschen Ergebnissen; ['Katze'] ist korrekt
?>
<?php
$ads = array('<a href="https://webseite1.com"><img src="bild1.jpg"></a>', '<a href="https://webseite2.com"><img src="bild2.jpg"></a>', '<a href="https://webseite3.com"><img src="bild3.jpg"></a>');
$maxwert = count($ads)-1;
$nr = mt_rand(0,$maxwert);
echo $ads[$nr];
?>
Noch mehr zum Basteln!
Danke.

Darf ich mal ein bisschen meckern?![]()

Ich hab keine Ahnung davon. ich verstehe es, kann es aber nicht sprechen.
dafür bin ich ein sehr guter googler!![]()

Ich würde mir nie anmaßen auch nur im geringsten etwas davon zu verstehen. Da sollen sich andere Leute battlen.