scroots
02-23-2003, 03:31 PM
using an if statement how can i detect a number is between two values like.
5 < rsGuestbook("NUM") <25
I came up with the following code but it doesn`t work
IF rsGuestbook("NUM") < 25 AND rsGuestbook("NUM") > 5 THEN
response.write("<img border=""0"" src=""70.gif"" width=""5"" height=""5"">")
END IF
anyone got any ideas?
scroots
5 < rsGuestbook("NUM") <25
I came up with the following code but it doesn`t work
IF rsGuestbook("NUM") < 25 AND rsGuestbook("NUM") > 5 THEN
response.write("<img border=""0"" src=""70.gif"" width=""5"" height=""5"">")
END IF
anyone got any ideas?
scroots