Thread
:
PHP: Displaying random lines from text file
View Single Post
12-23-2008, 07:45 PM
psili
Confirmed User
Join Date: Apr 2003
Location: Loveland, CO
Posts: 5,526
Quote:
Originally Posted by
eMonk
displays one thumb at a time. how can we display them ALL side-by-side randomly?
Not sure about why the HREF's aren't display but try:
$deck = file('test.txt');
shuffle($deck);
echo implode(' ',$deck);
__________________
Your post count means nothing.
psili
View Public Profile
Visit psili's homepage!
Find More Posts by psili