-
Simple Question...
I'm not exactly sure if this is in the right place, so mods please move if necessary.
I am trying to figure out something I think would be pretty easy. I have an asp page. At the top of the page, I am including a file like some_file.inc that holds the information I need to make a connection to the server object.
Down the page, I use Server.CreateObject to create an instance of a server object I need to use to access the database.
The function looks like this:
someserverobject.OpenConnection("place paramaters here")
The problem is that I cannot open the connection, because the parameters don't seem to be making it.
So my question is, how do I properly use the variables from the include file as parameters in the function I'm using?
-
Re: Simple Question...
If you debug or do a Response.Write, are you able to write the values out to the page?