>>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.