Thread: ARRAY type and PHP

ARRAY type and PHP

From
Uros Gruber
Date:
Hi!

I want to know how can i use output from postgre array type with php.


Output is something like this

{"one","two","three"}

What can i do with this. How can i insert this in php array


--
bye,
 Uros                          mailto:uros.gruber@sir-mag.com


Re: ARRAY type and PHP

From
"Cornelia Boenigk"
Date:
Hi

> Output is something like this
>
> {"one","two","three"}
>
> What can i do with this. How can i insert this in php array

Read the output into a string and then use explode() to generate an
array.

Bye
Conni