Re: File => Array
| From: | Leon Mergen | Date: | Sun, 21 May 2000 18:01:49 +0000 |
| Subject: | Re: File => Array | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-249@lists.php.net to get a copy of this message | ||
Hmmm...
I feel quite stupid now :)
Carpe diem,
- Leon (ICQ # 55677353)
-----Original Message-----
From: Matt McClanahan <cardinal@dodds.net>
To: Leon Mergen <leon@solatis.com>
Cc: php-general@lists.php.net <php-general@lists.php.net>
Date: Sunday, May 21, 2000 8:04 PM
Subject: Re: [PHP-GENERAL] File => Array
>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