RE: [PHP] case insenstive

From: Date: Tue, 05 Mar 2002 06:07:49 +0000
Subject: RE: [PHP] case insenstive
Groups: php.general 
Request: Send a blank email to php-general+get-87227@lists.php.net to get a copy of this message
> I need to make this case insensitive. This seems like over kill? > > if((substr($author, 0, 1) == "a") or (substr($author, 0, 1) == "a")) > { > } if((strtolower(substr($author, 0, 1)) == "a") { } :) J

« previous php.general (#87227) next »