When calling data, replace the newline mark of the database with <br> and set it to support HTML when calling the front desk. Friends who submit data through textarea can refer to it. Copy the code code as follows:
<%
function CHTMLEncode(fString)
fString = Replace(fString, CHR(13), )
fString = Replace(fString, CHR(10), <BR> )
CHTMLEncode= fString
end function
%>
Used when calling
<%=CHTMLEncode(rs(field content))%>
PHP text box wraps display
$str = str_replace(/n,<br>, $str);