RE: [PHP] writing multidimensional arrays to file ?
| From: | Albert | Date: | Mon, 30 Jan 2006 10:24:15 +0000 |
| Subject: | RE: [PHP] writing multidimensional arrays to file ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-229454@lists.php.net to get a copy of this message | ||
Gregory Machin [mailto:gregory.machin@gmail.com]
> Hi
> I'm looking for a good example of writing multidimensional arrays, and
> reading them back .
http://za2.php.net/manual/en/function.serialize.php
and
http://za2.php.net/manual/en/function.unserialize.php
Call serialize() when saving the array to the file and unserialize() to read
it back
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.14.23/243 - Release Date: 2006/01/27