View Single Post
Old 12-23-2008, 06:35 PM  
NickSunshine
Confirmed User
 
NickSunshine's Avatar
 
Join Date: Mar 2006
Posts: 1,196
Quote:
Originally Posted by eMonk View Post
Error: Warning: array_rand() [function.array-rand]: First argument has to be an array.

Do I need anything special in my text file?
sounds like it isn't reading the text file at all.

is the path correct?

try adding a print_r($a); after the file function to see whats in there.
__________________
NickSunshine is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote