pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: darius@shell.bourg.net
To: pgsql-php@postgresql.org
To: pgsql-interfaces@postgresql.org
Subject: postgresql array with PHP
Date: Sat, 31 Mar 2001 17:21:25 -0800 (PST)
Message-ID: <Pine.GSO.4.21.0103311713440.14868-100000@shell.bourg.net> (raw)

Hello All,

I have a few array types in a table that I'd like to update/retrieve from
PHP.  I manage to update/insert the array with a common sql statement but
am having a tough time retrieving the data back into an array like
form.  PHP seems to store the result of a Postgresql array as a single
element.  Is there a simple way to retrieve Postgresql array datatypes as
a PHP array instead of a single element?

Thanks,

Steve Bourg




view thread (2+ messages)  latest in thread

Message-ID: <Pine.GSO.4.21.0103311713440.14868-100000@shell.bourg.net>
Permalink:  ../Pine.GSO.4.21.0103311713440.14868-100000@shell.bourg.net/
Also on:    postgresql.org/message-id/Pine.GSO.4.21.0103311713440.14868-100000@shell.bourg.net

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: darius@shell.bourg.net, pgsql-php@postgresql.org
  Subject: Re: postgresql array with PHP
  In-Reply-To: <Pine.GSO.4.21.0103311713440.14868-100000@shell.bourg.net>

* 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