wahsaga: Zufallanzeige

Beitrag lesen

hi,

ein sehr schöner anwendungsfall für ein array und array_rand().

Das ist aber unter Berücksichtgung des Startpostings noch nicht mal die halbe Miete.
Die Aufgabe lautete ja, dass beim zweiten Mal nicht dieselbe Variable wieder ausgewählt werden darf.

stimmt, da wäre shuffle() wohl angebrachter.

gruß,
wahsaga

--
"Look, that's why there's rules, understand? So that you _think_ before you break 'em."