related to textarea data

Results 1 to 2 of 2

Thread: related to textarea data

  1. #1
    Join Date
    Dec 1969

    Default related to textarea data

    I have input some message from user through a textarea and stored it in Sql Server database in &#039text&#039 datatype field but now when I display this text in my .htm page it does not consider the &#039carriage return&#039 put in by the user. The text is displayed continuously.

  2. #2
    Join Date
    Dec 1969

    Default RE: related to textarea data

    To display properly in HTML, you need to replace the carriage returns with &lt;br&gt;. This should do the trick:<BR><BR>DisplayData = Replace((rs("textinfomation"), vbCrLf, "&lt;br&gt;")

Posting Permissions

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