postgresql array with PHP

From: <darius(at)shell(dot)bourg(dot)net>
To: pgsql-php(at)postgresql(dot)org, pgsql-interfaces(at)postgresql(dot)org
Subject: postgresql array with PHP
Date: 2001-04-01 01:21:25
Message-ID: Pine.GSO.4.21.0103311713440.14868-100000@shell.bourg.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces pgsql-php

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

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Grant 2001-04-02 00:34:02 Re: [PHP] postgresql array with PHP
Previous Message sasha 2001-03-31 04:45:23

Browse pgsql-php by date

  From Date Subject
Next Message Grant 2001-04-02 00:34:02 Re: [PHP] postgresql array with PHP
Previous Message Andrew Hammond 2001-03-31 21:16:53 Re: A valuable addition to PHP...