gpyper
asked on
Using If / then /else
I'm trying to impliment some code. There are two chunks that are duplicates except for a few pieces in each. I need to set up an if statement to get it to work but because I have the same "Dim" on both chunks of code. I was getting the name is being redefined error.
Is there a proper way to use the if statement I was using this
<% If cstr(requestform("whatisit ")) = cstr("server") Then
buch of code here
else If cstr(requestform("whatisit ")) = cstr("standalone") Then
more code here
end if
end if
Is there a proper way to use the if statement I was using this
<% If cstr(requestform("whatisit
buch of code here
else If cstr(requestform("whatisit
more code here
end if
end if
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Doh ... posted to the wrong bloody section.... free points
BTW - this seems more like VB than C...