From: Mike Nolan <nolan@gw.tssi.com>
To: dev@archonet.com
Cc: pgsql-general@postgresql.org
Subject: Re: PHP arrays and postgresql
Date: Wed, 7 Jan 2004 18:23:03 -0600 (CST)
Message-ID: <200401080023.i080N3KP025198@gw.tssi.com> (raw)
In-Reply-To: <200401072159.32238.dev@archonet.com>
> > I'm trying to find a way to store and then retrieve a PHP array in
> > my pg database.
>
> If you mean as one value, look into the serialise() function - that's probably
> what you want.
Serialize is just what I was looking for but not coming up with.
(My 18 year old son just got a kick out of the answer, he doesn't know
PHP but when I was explaining the problem to him last night he said,
"You mean like 'serialize' in Javascript?")
Thanks to everyone who responded.
--
Mike Nolan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: nolan@gw.tssi.com, dev@archonet.com, pgsql-general@postgresql.org
Subject: Re: PHP arrays and postgresql
In-Reply-To: <200401080023.i080N3KP025198@gw.tssi.com>
References: <200401072159.32238.dev@archonet.com> <200401080023.i080N3KP025198@gw.tssi.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox