Thread: php & postgresql data type

php & postgresql data type

From
Denni
Date:
hi....

I'm newbie here, I've a little knowledge about postgresql.
I'm planning to make a project for my school's assignment
about php using PostgreSQL as the database server.
I'm planning to use arrays data type and inheritance in
PostgreSQL. My question is can php3/php support this feature?

Thanks in advanced.

--
Best Regard,

Denni Pidono
sp_pgsql@telkom.net


Re: php & postgresql data type

From
Tatsuo Ishii
Date:
> I'm newbie here, I've a little knowledge about postgresql.
> I'm planning to make a project for my school's assignment
> about php using PostgreSQL as the database server.
> I'm planning to use arrays data type and inheritance in
> PostgreSQL. My question is can php3/php support this feature?

There is no support for PostgreSQL arrays in PHP. However, it is very
easy to write a function to convert PostgreSQL arrays in the query
result into PHP arrays. So this should be no problem.

I'm not sure about the inheritance part, because I don't know what you
want.
--
Tatsuo Ishii