Re: Flatten/Unflatten arrays
| From: | OrangeHairedBoy | Date: | Mon, 19 Apr 2004 23:31:58 +0000 |
| Subject: | Re: Flatten/Unflatten arrays | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-183894@lists.php.net to get a copy of this message | ||
Ah!
THANK YOU THANK YOU THANK YOU!
I was going insane when I couldn't remember the names of the Perl functions
either! :)
Lewis
"Chris W. Parker" <cparker@swatgear.com> wrote in message
news:001BD19C96E6E64E8750D72C2EA0ECEE2B8936@ati-ex-01.ati.local...
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.