X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 2631B5E46CD for ; Mon, 16 Aug 2004 14:35:42 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 82740-07 for ; Mon, 16 Aug 2004 17:35:35 +0000 (GMT) Received: from oniweb1.oninet.pt (unknown [195.245.128.28]) by svr1.postgresql.org (Postfix) with ESMTP id 966BE5E46C1 for ; Mon, 16 Aug 2004 14:35:34 -0300 (ADT) Received: from filo.at.isp ([195.245.128.200]) by oniweb1.oninet.pt with Microsoft SMTPSVC(5.0.2195.6713); Mon, 16 Aug 2004 18:35:32 +0100 Received: from [213.58.190.132] ([213.58.190.132]) by filo.at.isp with Microsoft SMTPSVC(5.0.2195.6713); Mon, 16 Aug 2004 18:35:31 +0100 Message-ID: <4120F086.4000908@netcabo.pt> Date: Mon, 16 Aug 2004 18:36:06 +0100 From: "Pedro B." User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Michelle Konzack Cc: pgsql-php@postgresql.org Subject: Re: How to create a new Table in prostgresql from a Webinterface References: <20040814151530.GC28829@freenet.de> <20040816171128.GD25345@freenet.de> In-Reply-To: <20040816171128.GD25345@freenet.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 16 Aug 2004 17:35:32.0193 (UTC) FILETIME=[6E0EBD10:01C483B7] X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200408/28 X-Sequence-Number: 2916 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 >