Using If / then /else
Posted on 2003-03-12
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