728x90
반응형

용도 : DB 테이블 상에 엔터가 입력되어 있지만 html에서 한줄로 나오는 문제

 

# 수정 전

1
<td> <%= contents%> </td>
cs

 

# 수정 후

1
<td> <%= Replace(contents, Chr(13)&Chr(10),"<br>") %> </td>
cs

DB 테이블 상의 엔터값을 태그 <br>로 변경

 

 

728x90
반응형

'코딩 삽질' 카테고리의 다른 글

[weblogic] 500 에러  (2) 2019.12.10
[html] include 절대경로, 상대경로  (0) 2019.11.24
[asp] write error log at text file  (0) 2019.11.24
[java] java.lang.NumberFormatException  (0) 2019.11.17
[oracle] GRANT (권한)  (0) 2019.11.17

+ Recent posts