From: "Jeff Oien" <[EMAIL PROTECTED]> > How can I compare a variable submitted by a form as case > insensitive? A promotional code will be entered into a form > and it's important that they can enter the code either way.
strcasecmp(): http://us2.php.net/strcasecmp or strtoupper($string) == 'ABC123' ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php