RE: [PHP] Flatten/Unflatten arrays
| From: | Chris W. Parker | Date: | Mon, 19 Apr 2004 23:28:16 +0000 |
| Subject: | RE: [PHP] Flatten/Unflatten arrays | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-183892@lists.php.net to get a copy of this message | ||
OrangeHairedBoy <mailto:me@orangehairedboy.com>
on Monday, April 19, 2004 4:23 PM said:
> In Perl there is a way to flatten an array into a string, and a
> matching function to unflatten the array.
i think you're looking for serialize() and unserialize().
http://php.net/serialize
http://php/net/unserialize
chris.