Hey All,
How can i re-declare a constant without getting the name redefined error?
Please any help would be great.
b :)
Printable View
Hey All,
How can i re-declare a constant without getting the name redefined error?
Please any help would be great.
b :)
Hmmm... if "re-declaring" a constant was allowed, it wouldn't be a constant would it... it would be a variable!
:eek:
Yeah sorry it's now something to do with the includes:
VB Code:
<% SELECT CASE Request.QueryString("skinfile") CASE "" %> <!-- #INCLUDE FILE="skin_file.asp" --> <% CASE "aqua" %> <!-- #INCLUDE FILE="skin_file_aqua.asp" --> <% END SELECT %>
Now you cant do that can you?
Some people say you can but you cant.
So how do you use dynamic includes?
b :)
Go to this link:
http://www.pstruh.cz/tips/detpg_DynInc.htm
and also to this link..
http://www.codefixer.com/tutorials/dynamic_includes.asp