|
-
Feb 8th, 2001, 03:04 AM
#1
Thread Starter
Member
Hey all
Well after some help from the VB guy's here in the office we found the faul .. easy really
Alway's remember the trim(STRING) = trim(string)
It turned out the the string returned from teh Recordset had a Space after the owrd and as we all know according to VB if there's a space it aint the same
Here's the code Finaly and it works!!!!
*****
if trim(rsResults("Comp_PWD")) = trim(Request.Querystring("sPWD")) then
Response.write "Test Suceeded"
else
Response.write "try Again<br>"
end if
*****
Simple I know but if you can't find the fault it's a major headace!!!
Cheers and Enjoy!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|