Topic awaiting preservation: case insensitive db query |
|
---|---|
Author | Thread |
Bipolar (III) Inmate From: |
posted 02-14-2004 00:56
PHP & Oracle 9i |
Maniac (V) Inmate From: Florida |
posted 02-14-2004 01:05
You can convert both strings to upper/lowercase and then do the comparison. code: $sql = "SELECT * FROM table WHERE lower(login)='$login' AND lower(password)='$password'";
|
Bipolar (III) Inmate From: |
posted 02-14-2004 01:16
Convert which strings? |
Maniac (V) Inmate From: Florida |
posted 02-14-2004 01:24
No problem, glad I could be of assistance to you. |