<% ' The input from the message field when submitted can contain line ' feeds that were saved at submission. ' In order to display the text as it was written we need to convert the vb ' line feeds into <br> values so they are viewable in the final viewing of ' the data.
' We must also convert any dbl quotes ( " ) encountered to single ' quotes ( ' ). If we do not, errors can occur and disable the view
fh2 = trim(rs("message")) fhc2 = replace( fh2, VBcrlf, "<br>") fhc3 = replace( fhc2, chr(34), "'" ) response.write fhc3 %>
|