|
<%
sql = "SELECT * FROM faq "
sql = sql & "ORDER BY ref DESC, re_step ASC "
set rs = Server.CreateObject("ADODB.Recordset")
rs.Open sql,DbCon2,3
if rs.bof or rs.eof then
%>
등록된 내용이 없어요!!!! |
<%
else
%>
<%
do until rs.eof
content = rs("content")
content = replace(content,chr(13) & chr(10)," ")
%>
[질문] : <%=rs("title")%>
|
<%=content%>
|
<%
rs.MoveNext
loop
end if
%>
<%
rs.close
DbCon.close
DbCon2.close
set rs = nothing
set DbCon = nothing
set DbCon2 = nothing
%>
|
|