Re: Posgres Adding braces at beginning and end of text (html) content

From: Thomas Markus <t(dot)markus(at)proventis(dot)net>
To: linnewbie <linnewbie(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Posgres Adding braces at beginning and end of text (html) content
Date: 2009-04-02 14:05:32
Message-ID: 49D4C62C.7000703@proventis.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

hi,

i'm not a tcl user but it looks like an array representation. try to
remove braces [] from page_content.

regards.
thomas

linnewbie schrieb:
>
> into the text area field, save:
>
> set page_content [ ncgi::value textarea_field_name]
>
> database connect dbh $datasource $dbuser $dbpassword
>
> set sql "INSERT INTO profile (page_content) \
> VALUES('$page_content') "
>
> dbh $sql
>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Aleksey Tsalolikhin 2009-04-02 14:43:27 Re: possible small contribution to the PostgreSQL manual? Example for two-phase commit section.
Previous Message A. Kretschmer 2009-04-02 14:01:18 Re: Posgres Adding braces at beginning and end of text (html) content