TEXTAREA and HTML formatting

Results 1 to 2 of 2

Thread: TEXTAREA and HTML formatting

  1. #1
    Icabod Guest

    Default TEXTAREA and HTML formatting

    I have an Access97 database that will carry news information to be updated every week or so.<BR><BR>This discussion board allows me to create paragraphs and whatnot, without requiring me to use HTML <BR> tags.. The new paragraphs are what&#039s important. I want to do it without using an HTML &#060;PRE&#062; tag...<BR><BR>How is this accomplished? Is it a Server.HTMLEncode thing or a reaplcing function? I need details. 8-) Thanks!

  2. #2
    Icabod Guest

    Default RE: TEXTAREA and HTML formatting

    &#060;%<BR>Dim strTemp<BR> strTemp = Server.HTMLEncode(strInput)<BR> strTemp = Replace(strTemp, vbCrLf, "<BR>" & vbCrLf, 1, -1, 1)<BR> LineBreaks= strTemp<BR>End Function<BR>%&#062;<BR>&#060;%= LineBreaks(rsDB("TEXT_FIELD")) %&#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