TheConeHead
Programmer
How would I test the condition of an undefined variable?
What I am doing is in an asp page I am doing:
variable1 = Request.QueryString("varName"
Now I want to use it is it is there but assign a default value if not... something like:
if (variable1 == null) {
variable1="value";
}
What I am doing is in an asp page I am doing:
variable1 = Request.QueryString("varName"
Now I want to use it is it is there but assign a default value if not... something like:
if (variable1 == null) {
variable1="value";
}