-
January 31st, 2003, 09:19 AM
#1
Junior Member
Asp problem
Hi guys , i just started to learn asp , and i already have my first problem.
I made a simple post system , you can view it all at :
http://www33.brinkster.com/pierreke
the problem is situated ( i think ) in vervolg.asp
here 's the source :
<%@ language ="vbscript" %>
<%
SELECT CASE request.form("Cmdkeuze")
CASE "toevoegen"
response.redirect "http://www33.brinkster.com/pierreke/toevoegen.asp"
CASE "lezen"
response.redirect "http://www33.brinkster.com/pierreke/gastlezen.asp"
END SELECT
%>
can you help me out , normally he should go to the toevoegen.asp or the gastlezen.asp
-
February 17th, 2003, 08:27 PM
#2
Member
Don't know for sure, but try placing your request.form into a variable, then evaluate the variable's value in your select...case statement.
-
February 17th, 2003, 11:35 PM
#3
[gloworange]And then it happened... a door opened to a world... rushing through the phone line like heroin through an addict\'s veins, an electronic pulse is sent out, a refuge from the day-to-day incompetencies is sought... a board is found. \"This is it... this is where I belong...\" I know everyone here... even if I\'ve never met them, never talked to them, may never hear from them again... I know you all...[/gloworange]
-
February 18th, 2003, 03:38 AM
#4
I would put a case else statement in at the end that response.writes the value of the variable so you can see what is going wrong.
"When I get a little money I buy books; and if any is left I buy food and clothes." - Erasmus
"There is no programming language, no matter how structured, that will prevent programmers from writing bad programs." - L. Flon
"Mischief my ass, you are an unethical moron." - chsh
Blog of X
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
|
|