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 1F32F5E46C3 for ; Mon, 16 Aug 2004 22:19:57 -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 30192-06 for ; Tue, 17 Aug 2004 01:19:47 +0000 (GMT) Received: from houston.familyhealth.com.au (fhnet.arach.net.au [203.22.197.21]) by svr1.postgresql.org (Postfix) with ESMTP id 2DCCA5E46D4 for ; Mon, 16 Aug 2004 22:19:43 -0300 (ADT) Received: from [192.168.0.40] (work-40.internal [192.168.0.40]) by houston.familyhealth.com.au (8.12.9p1/8.12.9) with ESMTP id i7H1JWUi078616; Tue, 17 Aug 2004 09:19:34 +0800 (WST) (envelope-from chriskl@familyhealth.com.au) Message-ID: <41215D5B.4050008@familyhealth.com.au> Date: Tue, 17 Aug 2004 09:20:27 +0800 From: Christopher Kings-Lynne 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-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/30 X-Sequence-Number: 2918 >>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... There is no such command.