| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
hi,
i have a file "template.asp" where i include 2 files "file1.asp" and "file2.asp" i have to include the "file3.asp" in the "file1.asp" and "file2.asp" when i run the file "template.asp" it says that i had redefined the variable X (defined in the "file3.asp") .....template.asp ...........| ........../\ ......../....\ ....../....... \ file1.asp file2.asp ......\......../ ........\..../ ..........\/ ...........| ......file3.asp can any one help me ?? those ASP has something like the "include once " in PHP best regards, Claudio Neto |
|
#2
|
||||
|
||||
|
It means you've got two "Dim" statements re-declaring the same variable.
Like: In template.asp you've got a line that says Dim strWhatever strWhatever = "whatever" but in file3.asp you've got a line that says Dim strWhatever strWhatever = "something else" Comprende? |
|
#3
|
||||
|
||||
|
Keep in mind that this forum is for existing code that you are offering to others.
|
![]() |
| Viewing: ASP Free Forums > Programming > Code Bank > problem with includes |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|