|
|
|
Home
> Q & A |
|
|
|
<%
dim sq1, storyid, pg, finder1, finder2, content, ref, rd, job
%>
<%
pg = request("pg")
ref = request("ref")
storyid = cint(request("storyid"))
finder1 = request("finder1")
finder2 = request("finder2")
job = request("job")
call db_conn()
'***Á¶È¸¼ö ¿Ã¸®±â***
sq1 = "update tb_board set viewcount = viewcount + 1 where storyid="&storyid
dbconn.Execute(sq1)
'******³¡******
call rs_conn()
sq1 = "select * from tb_board where view_yn = 1 and ref="&ref
rs.Open sq1, dbconn, 1
%>
<%do until rs.eof
if storyid = rs("storyid") then
if rs("content") <> "" or not isnull(rs("content")) then
content = replace(rs("content"),chr(10)," ")
content = replace(content," "," ")
end if
%>
ÀÛ¼ºÀÚ | <%=rs("username") %> |
ÀÛ¼ºÀÏ | <%=rs("regdate")%> |
E-Mail | "><%=rs("email") %> |
Á¶È¸¼ö | <%=rs("viewcount")%> |
Á¦ ¸ñ | <%=rs("subject")%> |
<%=content%>
|
<%
end if
rs.movenext
loop
rs.movefirst
%>
<%
Call rs_close()
Call db_close()
%>
|
|
|
|
|
|
|