ODBiC Discussion Board

RE: password, sam, 07-20-2005

Did you get my e-mail?

by Roger Harris, July 25, 2005 10:10

The script looks okay, so the most likely reason I can think of is that you may have the database field defined as CHAR instead of VARCHAR. If it's CHAR, then the database will space-fill the field out to maximum length, so your comparison will fail. If that's the case, you can remove extra spaces by using the $trim( ) function:

<% IF $pwd($password1$) <> $trim($passwd$) %>


Post Your Reply:

E-mail  optional

HTTP Link: 
Link text: 


Copyright ©1997-2003, Roger Harris. All rights reserved.