Quote:
|
Originally Posted by pstation
pretty simple...
Code:
<?php
$a = file("somefile.txt");
for($b=0;$b<15;$b++)
echo $a[array_rand($a)];
?>
just off the top of my head, there's always a chance that you might get a duplicate line but it should give you a good start..
|
Very nice, thank you very much! Works great.
