1

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

usertest
  • 27,132
  • 30
  • 72
  • 94

1 Answers1

4
$array = file('filename.txt');
Matteo Riva
  • 24,728
  • 12
  • 72
  • 104