其实就和留言板中的回复差不多,
set rs=server.createobject("adodb.recordset")
set re=server.createobject("adodb.recordset")
sql="select * from bbs where bbs_id=0"'bbs_id为0则说明为主题
rs.open sql,conn
do while not rs.eof
response.write rs("title")
sql="select * from bbs where bbs_id="&rs("id")'根据主题的编号找对应的回复标题
re.open sql,conn
do while not re.eof
response.write re("title")
re.movenext
loop
rs.movenext
loop