From: Pedro B. <pedro.borracha@netcabo.pt>
To: Michelle Konzack <linux4michelle@freenet.de>
Cc: pgsql-php@postgresql.org
Subject: Re: How to create a new Table in prostgresql from a Webinterface
Date: Mon, 16 Aug 2004 18:36:06 +0100
Message-ID: <4120F086.4000908@netcabo.pt> (raw)
In-Reply-To: <20040816171128.GD25345@freenet.de>
References: <20040814151530.GC28829@freenet.de>
<cfm559$6jg$1@news.hub.org>
<20040816171128.GD25345@freenet.de>
On php.net, if you did a search for pg_ , you would have seen the PHP
Function List .....
pg_close pg_connect pg_convert pg_copy_to
pg_dbname pg_delete pg_get_pid pg_host
pg_insert pg_lo_open pg_lo_read pg_lo_seek
pg_ping pg_port pg_query pg_select
pg_trace pg_tty pg_update preg_grep
\\pb
Michelle Konzack wrote:
> Am 2004-08-15 00:55:34, schrieb Raoul Buzziol:
>
>>Michelle Konzack wrote:
>>
>>
>>>Hello,
>>>
>>>Never I have done this before (no need) but now I nee to create a
>>>new table with some colums from a Webinterface and do not know how
>>>to do that.
>>
>>You have to execute a query:
>>
>>pg_query(connection, "CREATE TABLE tablename (id serial, val int4...);");
>
>
> :-/
>
> I was looking for a php-Command or somthing like this to create the
> table but not thinking on a pg_query WHICH execute the command...
>
>
> Greetings
> Michelle
>
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: pedro.borracha@netcabo.pt, linux4michelle@freenet.de
Subject: Re: How to create a new Table in prostgresql from a Webinterface
In-Reply-To: <4120F086.4000908@netcabo.pt>
References: <20040814151530.GC28829@freenet.de> <cfm559$6jg$1@news.hub.org> <20040816171128.GD25345@freenet.de> <4120F086.4000908@netcabo.pt>
* 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