Re: psql & HTML

From: David A Dickson <davidd(at)saraswati(dot)wcg(dot)mcgill(dot)ca>
To: Leif Jensen <leif(at)crysberg(dot)dk>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: psql & HTML
Date: 2002-02-15 13:57:55
Message-ID: Pine.LNX.4.33.0202150855050.29476-100000@blues.wcg.mcgill.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

It is very easy to interact with postgres using php. With php you can
select the rows from the tables you want and echo it to the web browser in
any format you desire.

On Fri, 15 Feb 2002, Leif Jensen wrote:

>
> Hi there,
>
> I have been using psql's HTML option for quite some time to generate
> intranet tables from our corporate database, which works very nicely.
>
> I wonder if anyone has been extending this feature for better control of
> the output. At the moment I am piping output through several 'sed's to
> control table attributes like bgcolor, alignment, etc. It's very difficult
> to control individual columns, using colgroups, etc. this way. I would
> like some kind of additional options making it possible to add table
> attributes as well as making layout control easier.
>
> I have been thinking of having a look at the psql source for adding such
> features if they don't already exists, and I would welcome any suggestions
> in this respect !
>
> Greetings,
>
> Leif
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>

--
David A Dickson
david(dot)dickson(at)mail(dot)mcgill(dot)ca

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Peter Darley 2002-02-15 14:04:48 Re: Installing DBD::Pg module without Pg Database server
Previous Message Herbert Liechti 2002-02-15 13:31:42 Re: Report generation