Hej jag undrar hur man kan göra för att slumpa fram mer än 3 texter på detta:
$texts = array(
array('text 1', 'text 2', 'text 3'),
array('text 4', 'text 5', 'text 6'),
array('text 7', 'text 8', 'text 9'),
array('text 10', 'text 11', 'text 12'),
array('text 13', 'text 14', 'text 15'),
array('text 16', 'text 17', 'text 18'),
array('text 19', 'text 20', 'text 21')
);
echo $texts[date('w')][mt_rand(0, 2)];
Hitta detta på wf det är Spango som har skrivit den.