perinius
Starting Member
USA
47 Posts |
Posted - November 09 2004 : 19:48:55
|
After reading this for myself I didn't really make my question too clear. The 'plink' variable pulls the current url but I need it to pull from within the link, with querystring. For example:
../shopdisplayproducts.asp?cat=Surf should then pull ../shopdisplayproducts.asp?cat=Surf?pagesize=24 when clicked on the "display 24" link. But I get an error on it?
Here is the code I am trying to use that doesn't work:
<% Dim plink plink = Request.ServerVariables("URL")&"?"&Request.ServerVariables("QUERY_STRING") dim thispage2 thisPage2 = LCase(Request.ServerVariables("SCRIPT_NAME")) With Response If InStr(thisPage2, "/shopdisplayproducts.asp") <> 0 Then .Write ("<table width=""95%"" border=""0"" cellspacing=""0"" cellpadding=""0"" bgcolor=""#ffffff""><tr><td><div align=""right""><font color=""#660000"" size=""1"">Display </font><a href=""<%plink%>?pagesize=12"">12</a> <a href=""<%plink%>?pagesize=24"">24</a> <a href=""<%plink%>?pagesize=48"">48</a> <a href=""<%plink%>?pagesize=96"">96</a> <a href=""shopquery.asp"">All</a> <font color=""#660000"" size=""1"">items per page</font></font></div></td></tr></table>") End If End With
%> <%'=plink%>
Edited by - perinius on November 09 2004 19:51:30 |
|
|