QQ网名大全

ASP源码,在内容页中需要显示分类名称,如何调用写代码?

sql="select * from Show where tid="&id&" or tid in (Select id from Show_Pro where pid="&id&") order by id desc"
sql2="select * from Show_Pro where id="&id
sql3="select title from show_pro where id=(select tid from show where id="&id&")"
set rs1=conn.execute(sql3)
if not rs1.eof then
menuname=rs1("title")
else
menuname="没有此分类"
end if
佚名
2024-06-11 01:24:13
最佳回答
类似问题(10)