Re: Array into database
| From: | Leon Mergen | Date: | Tue, 11 Jun 2002 21:59:00 +0000 |
| Subject: | Re: Array into database | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-101625@lists.php.net to get a copy of this message | ||
So this would handle 2-demensional arrays too?
So, if I have
$array = (
"foo" => "bar",
"wom" => "bat"
);
it would work?
And darn, that I didn't come up with this (I'm familliar with Java, and they
use Serializable) ...
"Stuart Dallas" <stuart@sharedserver.net> wrote in message
news:14015201298.20020611225707@sharedserver.net...
> On Tuesday, June 11, 2002 at 10:25:36 PM, you wrote:
> > I would like to know wether it's possible to put an array into a
database?
> > If not, what is the best way to archieve something like that?
>
> Yes it is. See http://www.php.net/serialize
>
> --
> Stuart
>