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

2009-04-24 Thread nighthawk
On Thu, Apr 2, 2009 at 3:33 PM, linnewbie wrote: > set page_content [lindex [ dbh $sql ] 0] I have never heard of tclodbc, but I believe you are putting the first row into your variable, which is why it shows with curly braces. The problem should be more obvious when you try to fetch more than o

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

2009-04-02 Thread linnewbie
On Apr 2, 11:06 am, linnewbie wrote: > On Apr 2, 10:01 am, andreas.kretsch...@schollglas.com ("A. > > > > Kretschmer") wrote: > > In response to linnewbie : > > > > I am using tcl ( ncgi and tclobdc ) so it is more like the excerpts > > > below: > > > > ie I input: > > > > Hello World > > > > xyz

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

2009-04-02 Thread linnewbie
On Apr 2, 10:01 am, andreas.kretsch...@schollglas.com ("A. Kretschmer") wrote: > In response to linnewbie : > > > > > I am using tcl ( ncgi and tclobdc ) so it is more like the excerpts > > below: > > > ie I input: > > > Hello World > > > xyz > > . > > > into the text area field, save: >

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

2009-04-02 Thread Thomas Markus
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 s

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

2009-04-02 Thread A. Kretschmer
In response to linnewbie : > I am using tcl ( ncgi and tclobdc ) so it is more like the excerpts > below: > > ie I input: > > Hello World > > xyz > . > > into the text area field, save: > > set page_content [ ncgi::value textarea_field_name] > > database connect dbh $datasource $d

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

2009-04-02 Thread linnewbie
On Apr 2, 8:59 am, l...@solumslekt.org ("Leif B. Kristensen") wrote: > On Thursday 2. April 2009, linnewbie wrote: > > >Hi All, > > >I'm fairly new to postgres and I'm having this peculiar problem. > > >I'm storing raw html in a text field and I want users who know HTML to > >update the content in

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

2009-04-02 Thread John Cheng
ENERAL] Posgres Adding braces at beginning and end of text (html) content Hi All, I'm fairly new to postgres and I'm having this peculiar problem. I'm storing raw html in a text field and I want users who know HTML to update the content in a textarea field. The problem is po

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

2009-04-02 Thread Leif B. Kristensen
(CC'ed to the list) On Thursday 2. April 2009, linnewbie wrote: > I am using tcl ( ncgi and tclobdc ) so it is more like the excerpts > below: > >ie I input: > >Hello World > >xyz > >into the text area field, save: > >set page_content [ ncgi::value textarea_field_name] > >database connect dbh

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

2009-04-02 Thread Leif B. Kristensen
On Thursday 2. April 2009, linnewbie wrote: >Hi All, > >I'm fairly new to postgres and I'm having this peculiar problem. > >I'm storing raw html in a text field and I want users who know HTML to >update the content in a textarea field. > >The problem is postgres is adding braces to the begining and

[GENERAL] Posgres Adding braces at beginning and end of text (html) content

2009-04-02 Thread linnewbie
Hi All, I'm fairly new to postgres and I'm having this peculiar problem. I'm storing raw html in a text field and I want users who know HTML to update the content in a textarea field. The problem is postgres is adding braces to the begining and ending of the content. On creation and every time

[GENERAL] Posgres Adding braces at beginning and end of text (html) content

2009-04-02 Thread linnewbie
Hi All, I'm fairly new to postgres and I'm having this peculiar problem. I'm storing raw html in a text field and I want users who know HTML to update the content in a textarea field. The problem is postgres is adding braces to the begining and ending of the content. On creation and every time