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 4BAF15E37CB for ; Mon, 16 Aug 2004 14:11: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 75842-04 for ; Mon, 16 Aug 2004 17:11:32 +0000 (GMT) Received: from mwinf0609.wanadoo.fr (smtp6.wanadoo.fr [193.252.22.25]) by svr1.postgresql.org (Postfix) with ESMTP id A0E705E46C4 for ; Mon, 16 Aug 2004 14:11:31 -0300 (ADT) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf0609.wanadoo.fr (SMTP Server) with SMTP id B2A6C18001F4 for ; Mon, 16 Aug 2004 19:11:29 +0200 (CEST) Received: from michelle1.private.tamay-dogan.net (AStrasbourg-251-2-12-87.w82-126.abo.wanadoo.fr [82.126.130.87]) by mwinf0609.wanadoo.fr (SMTP Server) with SMTP id D1F12180015F for ; Mon, 16 Aug 2004 19:11:28 +0200 (CEST) Received: by michelle1.private.tamay-dogan.net (sSMTP sendmail emulation); Mon, 16 Aug 2004 19:11:28 +0200 Date: Mon, 16 Aug 2004 19:11:28 +0200 From: Michelle Konzack To: pgsql-php@postgresql.org Subject: Re: How to create a new Table in prostgresql from a Webinterface Message-ID: <20040816171128.GD25345@freenet.de> References: <20040814151530.GC28829@freenet.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XOIedfhf+7KOe/yw" Content-Disposition: inline In-Reply-To: X-Message-Flag: Improper configuration of Outlook is a breeding ground for viruses. Please take care your Client is configured correctly. Greetings Michelle. X-Disclaimer-DE: Eine weitere Verwendung oder die Veroeffentlichung dieser Mail oder dieser Mailadresse ist nur mit der Einwilligung des Autors gestattet. Organisation: Michelle's Selbstgebrautes X-Operating-System: Linux michelle1.private 2.4.18-bf2.4 X-Uptime: 19:09:38 up 6 days, 10:03, 3 users, load average: 0.71, 1.11, 1.24 X-Homepage: http://82.126.130.87/ X-Developer-Home: http://www.khayatfamily.net/linux4michelle/ User-Agent: Mutt/1.5.6i 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/26 X-Sequence-Number: 2914 --XOIedfhf+7KOe/yw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Am 2004-08-15 00:55:34, schrieb Raoul Buzziol: > Michelle Konzack wrote: >=20 > > Hello, > >=20 > > 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. >=20 > You have to execute a query: >=20 > pg_query(connection, "CREATE TABLE tablename (id serial, val int4...);"); :-/ I was looking for a php-Command or somthing like this to create the=20 table but not thinking on a pg_query WHICH execute the command... Greetings Michelle --=20 Linux-User #280138 with the Linux Counter, http://counter.li.org/=20 Michelle Konzack Apt. 917 ICQ #328449886 50, rue de Soultz MSM LinuxMichi 0033/3/88452356 67100 Strasbourg/France IRC #Debian (irc.icq.com) --XOIedfhf+7KOe/yw Content-Type: application/pgp-signature; name="signature.pgp" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBIOq/C0FPBMSS+BIRArUwAKC53+bu5VxJ/wTV0TvQTCOOc6xYIwCdF/dk NxZiAtYnMrviQ0Xqdg46l7Y= =ffLx -----END PGP SIGNATURE----- --XOIedfhf+7KOe/yw--