Hi,
I'm trying to add a random banner to the forum, but I'm getting an error.
The script (from
haneng.com) works fine on it's own, but when I include it in the forum (V6.28, in the footer) I get an error.
If it is included in the footer as another include, I get:
"Microsoft VBScript runtime error '800a01f4'
Variable is undefined: 'LowestNumber'
/forum/banner.asp, line 3"
If I add it to the footer itself, I get the same thing (different line number, but same line of code).
The initial part of the script is:
<%
RANDOMIZE
LowestNumber = 1
HighestNumber = 6
RandomNumber = INT((HighestNumber-LowestNumber+1)*Rnd+LowestNumber)
SELECT CASE RandomNumber
CASE "1"%>
I'm sure it's something simple (I'm not a programmer), could anyone point me in the right direction?
Thanks in advance,
-Alastair