日期:2014-05-17  浏览次数:20778 次

大家帮我看看这个连接有什么错误?
<td   height= "20 "   align=left   width= "100 "> <div   align= "center "> <a   href=showdetial.asp?serialnum= "&request( "serialnum ")& "&num= "&rs( "num ")& "   target=bottom> <%=rs( "theme ")%> </a> </div> </td>
在表格中点击文章标题,转到显示文章详细内容.可是老是跳转不了,好像是那个num= "&rs( "num ")& "   没有传过去.


------解决方案--------------------
<td height= "20 " align=left width= "100 "> <div align= "center "> <a href= "showdetial.asp?serialnum= <%=request( "serialnum ")%> &num= <%=rs( "num ")%> " target=bottom> <%=rs( "theme ")%> </a> </div> </td>

注意引号用法

你这句没有放到asp中吧,没有的话,调用ASP数据要加 <%=%>
------解决方案--------------------
<td height= "20 " align=left width= "100 "> <div align= "center "> <a href= 'showdetial.asp?serialnum= <%=request( "serialnum ")%> &num= <%=rs( "num ")%> ' target=bottom> <%=rs( "theme ")%> </a> </div> </td>