Reputation: 27628
How would I put the lines of a text file into an array with PHP? Thanks.
Upvotes: 1
Views: 1877
Reputation: 25060
$array = file('filename.txt');
Upvotes: 4