Re: How to create a new Table in prostgresql from a Webinterface

From: Michelle Konzack <linux4michelle(at)freenet(dot)de>
To: pgsql-php(at)postgresql(dot)org
Subject: Re: How to create a new Table in prostgresql from a Webinterface
Date: 2004-08-16 17:11:28
Message-ID: 20040816171128.GD25345@freenet.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

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

--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSM LinuxMichi
0033/3/88452356 67100 Strasbourg/France IRC #Debian (irc.icq.com)

In response to

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Robby Russell 2004-08-16 17:31:45 Re: How to create a new Table in prostgresql from a
Previous Message Steve Bergman 2004-08-15 17:28:50 Re: How to create a new Table in prostgresql from a