guest2013-1
guest
- Joined
- Aug 22, 2003
- Messages
- 19,800
- Reaction score
- 13
Doing my first Classic ASP page in a while
I have an array that stores a value, like "FEL", I have a record from a db that contains the same value, I then do this
The output shows FEL on both the array AND the recordset, I even compared the length (both = 3)
But for some reason the above is NEVER equal to each other according to that if statement
WTF. Did I lose my ability to code in something AS SIMPLE AS classic ASP!?
I have an array that stores a value, like "FEL", I have a record from a db that contains the same value, I then do this
Code:
if Trim(rs("Description")) = Trim(myArray(0,i)) Then
The output shows FEL on both the array AND the recordset, I even compared the length (both = 3)
But for some reason the above is NEVER equal to each other according to that if statement
WTF. Did I lose my ability to code in something AS SIMPLE AS classic ASP!?