Re: File => Array
| From: | Matt McClanahan | Date: | Sun, 21 May 2000 18:00:15 +0000 |
| Subject: | Re: File => Array | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-248@lists.php.net to get a copy of this message | ||
On Sun, 21 May 2000, Leon Mergen wrote:
> How can I load a file which each line one line of an array?
I believe you're looking for the file() function, which reads a file into
an array where each line in the file is an element in the array.
http://www.php.net/manual/html/function.file.html
Matt