Multiline text box

Results 1 to 2 of 2

Thread: Multiline text box

  1. #1
    Join Date
    Dec 1969

    Default Multiline text box

    Okay, I&#039;m sure this is extremely basic, but I can&#039;t figure it out.<BR><BR>I am taking the contents of a text box (just like I&#039;m typing in right now) and ultimately placing into a database. However, CR&#039;s aren&#039;t being saved. For example:<BR><BR>value 1<BR>value 2<BR>value 3<BR><BR>is being saved and redisplayed as:<BR>value 1value 2value 3<BR><BR>How can I take that string from the textbox and retain the CR&#039;s?<BR><BR>Thanks<BR>

  2. #2
    Reggie Guest

    Default RE: Multiline text box

    &#060;%<BR>Response.write = replace(RS("MyString"),vbcrlf,"<BR>")<BR>%&#062;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts