how do i: display message from db

Results 1 to 2 of 2

Thread: how do i: display message from db

  1. #1
    adam stokes Guest

    Default how do i: display message from db

    how can i display a message using<BR><BR>str = replace(article, vbcrlf, "&#060;.br&#062;") so that it will read my returns and use the Server.HTMLEncode(objRS("whatever")) so that it will change the &#060;.tabl html to &.lt;?<BR><BR>cause i have html that i want to be seen as text rather than performed as html, but i want the breaks to line break when needed.<BR><BR>please help me :d

  2. #2
    sigma Guest

    Default RE: how do i: display message from db

    I am not sure whether you want help with storing the value to the database or displaying. If you have an HTML string stored in the database which you need to display as HTML on the browser, except for the linebreaks then you can do this. If this is not what you want, could you explain it a little more.<BR>article=Server.HTMLEncode(objRs("whatever "))<BR>response.write replace(article,"&amp;lt;br&amp;gt;","&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