Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-interfacespgsql-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

pgsql-interfaces by date

Next:From: GrantDate: 2001-04-02 00:34:02
Subject: Re: [PHP] postgresql array with PHP
Previous:From: sashaDate: 2001-03-31 04:45:23
Subject:

pgsql-php by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group