ASP, Database and HTML help

Results 1 to 2 of 2

Thread: ASP, Database and HTML help

  1. #1
    John T. White Guest

    Default ASP, Database and HTML help

    I have a form with a text area. The users fills out this form and the data gets sent to a simple Access Database. If they have any CR in the form field, it does get transfered into the database. But when the data gets displayed on another page, the CR are interperted as spaces. What I am trying to find out is how I can use VBScripts &#039REPLACE&#039 command to replace the CR&#039s with HTML&#039s &#039BR&#039, but I need to know how it is sent from the form as CR&#039s using the post command. I have send it as Get and tried to use what was on the querystring, but that doesn&#039t work. If anyone has any ideas, please post them up. Thanks.

  2. #2
    Nathan Pond Guest

    Default RE: ASP, Database and HTML help

    Dim vbCrLf<BR>vbCrLf = Chr(13) & Chr(10)<BR>StrText = Replace(StrText, vbCrLf, "<BR>")<BR><BR><BR>Nathan

Posting Permissions

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