Re: storing arrays
| From: | CC Zona | Date: | Sun, 17 Feb 2002 03:04:43 +0000 |
| Subject: | Re: storing arrays | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-85083@lists.php.net to get a copy of this message | ||
In article <20020217022913.92497.qmail@pb1.pair.com>,
wiseguy316@netzero.com (Clark) wrote:
> 1) Is it possible to write an array to a file?
<http://php.net/serialize>
<http://php.net/fopen>
<http://php.net/fwrite>
> 2) Is it possible to specify the name of the key to each item of an array
> when you get the array using file().
You can take the array returned by file() and manipulate its keys however
you want. But beforehand...? No.
--
CC