I looked through the http://www.w3schools.com/asp/asp_incfiles.asp tutorial and noticed that I can't do what I was doing in my code down in the Tips and Notes section. I'm hoping someone here might be able to help with what I'd like to do.I want to include a file based on the input received from the user. I'm doing this because I don't want to use frames in my website, I'd rather use tables. So, depending on the input I receive from the user, I'm going to include the file into a section of the table rather than opening the file in another frame. Here's my snippet of code:
ACTION = Request.QueryString("ACT")Select Case ACTION Case "EDITA" %><!--#INCLUDE FILE='editaccount.asp'--><% Case "KB" %><!--#INCLUDE FILE='RDKbase.asp'--><% Case "NEWT" %><!--#INCLUDE FILE='newticket.asp'--><% Case "SEARCHT" %><!--#INCLUDE FILE='searchtickets.asp'--><% Case "LOPEN" %><!--#INCLUDE FILE='opentickets.asp'--><% Case "LCLOSED" %><!--#INCLUDE FILE='closedtickets.asp'--><% Case Else %><!--#INCLUDE FILE='body.asp'--><%End Select
Obviously, this doesn't work. Is there any way I could get it to work?Any help would be greatly appreciated.UPDATE: Actually, I got it to work just fine the way it is above in the CODE block. It seems there were a few other syntax errors in the files I was trying to link to since they were pre-existing, standalone files.-Phrancie