Re: Keeping text formatting (like hard returns)

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 41550
interpreted = N
texte = Works perfectly, thank!andy> When getting the text out of the db: > > > [ConvertChards][Retrievedtext][/ConvertChars] > > > > > -- > Stuart Tremain > idfk web developments - Australia > > On Monday, 15 July 2002, andy mowrey wrote: >> Yea, I had already tried that and it didn't change anything. Can >> anyone >> else see why this isn't working; it seems so simple. >> >> andy >> >>> I'm sure I wont be the first to suggest using [input][/input] in your >>> textarea... >>> >>> >>> >>> GK >>> >>> >>> >>> >>>> Hi, >>>> >>>> Sorry if this message was received more than once; I've been having a >>>> bit of trouble sending it out. Anyway... >>>> >>>> Hopefully someone can point me in the right direction. I'd like to >>>> append paragraphs of text to a database and be able to read display >>>> the >>>> paragraphs in exactly the same format as they're entered. I'd like: >>>> h >>>> e >>>> l >>>> p >>>> >>>> to be displayed as: >>>> h >>>> e >>>> l >>>> p >>>> >>>> Instead, it is displayed as: help >>>> >>>> Here's the code I'm using: >>>> >>>> index_01.tpl >>>> >>>> >>>> >>>> >>>> >>>> -------------------------- >>>> index_02.tpl >>>> >>>> [FORMVARIABLES][index], [name], [url][value][/url]>>> />[/FORMVARIABLES] >>>> >>>> [CLOSEDATABASE db=test.db][APPEND >>>> db=test.db]_sku=[_sku]&_test=[url][_temp][/url][/APPEND] >>>> >>>> -------------------------- >>>> >>>> index_03.tpl >>>> >>>> [search db=test.db&ne_skudata=0] >>>> [founditems] >>>> [_sku] [unurl][_test][/unurl]
>>>> [/founditems] >>>> [/search] >>>> >>>> The data appears as h%0D%0Ae%0D%0Al%0D%0Ap when the [formvariables] >>>> is >>>> used, but it appends to the database with a square replacing the hard >>>> returns. >>>> >>>> Webcat 4.0.2 >>>> MacOS 10.1.5 >>>> Apache 1.3.26 >>>> >>>> Thanks in advance for your help. >>>> >>>> andy mowrey >>>> >>> >>> >>> ------------------------------------------------------------- >>> This message is sent to you because you are subscribed to >>> the mailing list . >>> To unsubscribe, E-mail to: >>> To switch to the DIGEST mode, E-mail to >> digest@talk.smithmicro.com> >>> Web Archive of this list is at: http://search.smithmicro.com/ >>> >> >> >> ------------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to > digest@talk.smithmicro.com> >> Web Archive of this list is at: http://search.smithmicro.com/ >> > > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to digest@talk.smithmicro.com> > Web Archive of this list is at: http://search.smithmicro.com/ > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Keeping text formatting (like hard returns) (andy mowrey 2002)
  2. Re: Keeping text formatting (like hard returns) (Gary Krockover 2002)
  3. Re: Keeping text formatting (like hard returns) (Stuart Tremain 2002)
  4. Re: Keeping text formatting (like hard returns) (andy mowrey 2002)
  5. Re: Keeping text formatting (like hard returns) (Gary Krockover 2002)
  6. Keeping text formatting (like hard returns) (andy mowrey 2002)
Works perfectly, thank!andy> When getting the text out of the db: > > > [ConvertChards][Retrievedtext][/ConvertChars] > > > > > -- > Stuart Tremain > idfk web developments - Australia > > On Monday, 15 July 2002, andy mowrey wrote: >> Yea, I had already tried that and it didn't change anything. Can >> anyone >> else see why this isn't working; it seems so simple. >> >> andy >> >>> I'm sure I wont be the first to suggest using [input][/input] in your >>> textarea... >>> >>> >>> >>> GK >>> >>> >>> >>> >>>> Hi, >>>> >>>> Sorry if this message was received more than once; I've been having a >>>> bit of trouble sending it out. Anyway... >>>> >>>> Hopefully someone can point me in the right direction. I'd like to >>>> append paragraphs of text to a database and be able to read display >>>> the >>>> paragraphs in exactly the same format as they're entered. I'd like: >>>> h >>>> e >>>> l >>>> p >>>> >>>> to be displayed as: >>>> h >>>> e >>>> l >>>> p >>>> >>>> Instead, it is displayed as: help >>>> >>>> Here's the code I'm using: >>>> >>>> index_01.tpl >>>> >>>> [cart]> >>>> >>>> >>>> >>>> -------------------------- >>>> index_02.tpl >>>> >>>> [formvariables][index], [name], [url][value][/url]>>> />[/FORMVARIABLES] >>>> >>>> [CLOSEDATABASE db=test.db][APPEND >>>> db=test.db]_sku=[_sku]&_test=[url][_temp][/url][/APPEND] >>>> >>>> -------------------------- >>>> >>>> index_03.tpl >>>> >>>> [search db=test.db&ne_skudata=0] >>>> [founditems] >>>> [_sku] [unurl][_test][/unurl]
>>>> [/founditems] >>>> [/search] >>>> >>>> The data appears as h%0D%0Ae%0D%0Al%0D%0Ap when the [formvariables] >>>> is >>>> used, but it appends to the database with a square replacing the hard >>>> returns. >>>> >>>> Webcat 4.0.2 >>>> MacOS 10.1.5 >>>> Apache 1.3.26 >>>> >>>> Thanks in advance for your help. >>>> >>>> andy mowrey >>>> >>> >>> >>> ------------------------------------------------------------- >>> This message is sent to you because you are subscribed to >>> the mailing list . >>> To unsubscribe, E-mail to: >>> To switch to the DIGEST mode, E-mail to >> digest@talk.smithmicro.com> >>> Web Archive of this list is at: http://search.smithmicro.com/ >>> >> >> >> ------------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to > digest@talk.smithmicro.com> >> Web Archive of this list is at: http://search.smithmicro.com/ >> > > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to digest@talk.smithmicro.com> > Web Archive of this list is at: http://search.smithmicro.com/ > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ andy mowrey

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

f2 download problems (1997) WebCat2b13 Command Reference Doc error (1997) [protect] and identification (2008) WebCat2: Items xx to xx shown, etc. (1997) emailer w/F2 (1997) ' add to cart ' or ' sku ' problem (1998) (1998) Req: Array Tags Explained, simple and clear (2004) Big Databases (1997) Merchant account (1998) Summing fields (1997) Storebuilder Seems to have just died (2003) processing .html pages (2001) RE: 2nd WebCatalog2 Feature Request (1996) Uploading Files and Descriptions W* (2000) Location of Browser Info.txt file (1997) problem: search crashes webstar (1997) WebCatalog for Postcards ? (1997) BIG PROBLEMS with Checkboxes!!! (1998) Just Testing (1997)