tags:

views:

93

answers:

1

How would I put the lines of a text file into an array with PHP? Thanks.

+3  A: 
$array = file('filename.txt');
kemp
Relevant doc: http://php.net/file
Frank Farmer