读书人

大家帮小弟我看看这个连接有什么东东

发布时间: 2012-02-26 20:19:45 作者: rapoo

大家帮我看看这个连接有什么错误?
<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>

读书人网 >ASP

热点推荐