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 D6FD25E46E2 for ; Sat, 14 Aug 2004 20:11:52 -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 08072-10 for ; Sat, 14 Aug 2004 23:11:51 +0000 (GMT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id 1D4AE5E46D7 for ; Sat, 14 Aug 2004 20:11:49 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id i7ENBniG011371 for ; Sat, 14 Aug 2004 23:11:49 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id i7EMrU7u007708 for pgsql-php@postgresql.org; Sat, 14 Aug 2004 22:53:30 GMT From: Raoul Buzziol X-Newsgroups: comp.databases.postgresql.interfaces.php Subject: Re: How to create a new Table in prostgresql from a Webinterface Date: Sun, 15 Aug 2004 00:55:34 +0200 Organization: Hub.Org Networking Services Lines: 21 Message-ID: References: <20040814151530.GC28829@freenet.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@news.hub.org User-Agent: KNode/0.7.7 To: pgsql-php@postgresql.org 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/25 X-Sequence-Number: 2913 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...);"); > > Please can anyone point me into the right direction ? > > Thanks, Greetings > and nice Weekend > Michelle >