|
-
May 2nd, 2000, 01:45 AM
#1
Thread Starter
Member
The code listed below is the actual code to my page except that the actual page being called from the url is not the one i am using just for the sake of confidential materials on the site...
The problem I am having is that I can't get it to accept the sytax... it keeps giving me an error when I use the layout that I have on my IF THEN ELSE statement focused directly on my response.redirect command in the exact area were I have the ?SELCPU=<%request.form("ddCPU")%> area...
Please Advise
Kind Regards,
Hakan
<%
IF NOT isempty(Request.Form("Submit")) then
response.redirect ("http://www.hytech-wholesale.com/index.asp?SELCPU=<%request.form("ddCPU")%>")
ELSE
set rsCPU = conn.Execute("SELECT * FROM CPUS WHERE CHOICE=TRUE ORDER BY DESCRIPTION")
set rsCASE = conn.Execute("SELECT * FROM CASES WHERE CHOICE=TRUE ORDER BY DESCRIPTION")
set rsMTHRBRD = conn.Execute("SELECT * FROM MOTHERBOARDS WHERE CHOICE=TRUE ORDER BY DESCRIPTION")
set rsOS = conn.Execute("SELECT * FROM SOFTWARE WHERE CHOICE=TRUE ORDER BY DESCRIPTION")
set rsRAM = conn.Execute("SELECT * FROM RAM WHERE CHOICE=TRUE ORDER BY DESCRIPTION")
set rsFLOPPY = conn.Execute("SELECT * FROM REMOVABLE WHERE CHOICE=TRUE ORDER BY DESCRIPTION")
set rsHD = conn.Execute("SELECT * FROM HARDDRIVES WHERE CHOICE=TRUE ORDER BY DESCRIPTION")
set rsMONITOR = conn.Execute("SELECT * FROM MONITORS WHERE CHOICE=TRUE ORDER BY DESCRIPTION")
set rsMICE = conn.Execute("SELECT * FROM MICE WHERE CHOICE=TRUE ORDER BY DESCRIPTION")
set rsKYBRDS = conn.Execute("SELECT * FROM KEYBOARDS WHERE CHOICE=TRUE ORDER BY DESCRIPTION")
set rsMMKIT = conn.Execute("SELECT * FROM MMADDON WHERE CHOICE=TRUE ORDER BY DESCRIPTION")
set rsEXIST = conn.Execute("SELECT * FROM SYSWK1FTM")
END IF
%>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|