Thread
:
Case sensitivity
View Single Post
10-28-2004, 02:27 PM
#
2
(
permalink
)
sde
Moderator
Join Date: May 2002
Location: us.ca
Posts: 4,542
how about
:
PHP Code:
if(
strtolower
(
$email
)==
strtolower
(
"daveH"
){
echo
"match"
;
}else{
echo
"no match"
;
}
if you need stronger matching capabilities.. like regular expressions, eregi() will do a case insensitive match.
__________________
Mike
sde
View Public Profile
Visit sde's homepage!
Find More Posts by sde