|
sql="select tbtk.tmid,tbtk.title,tbkc.kcm,tbtk.category,tbtk.chapter,tbtk.kao,tbtk.level from tbtk,tbkc where tbtk.kcid=tbkc.kcid and tbkc.addname = "& request.cookies("username") &" and tbkc.kcid = "& subjectview &" and category="&typeadd &" order by tbtk.chapter,category,tbtk.tmid desc"
sql="select tbtk.tmid,tbtk.title,tbkc.kcm,tbtk.category,tbtk.chapter,tbtk.kao,tbtk.level from tbtk,tbkc where tbtk.kcid=tbkc.kcid and tbkc.addname = "& session("adminname") &" and tbkc.kcid = "& subjectview &" and category="&typeadd &" order by tbtk.chapter,category,tbtk.tmid desc"
不管是那一句都报错,是什么地方写错了吗? |
|