if (eregi("^a", $author)) { print "blah!"; }
Niklas -----Original Message----- From: jtjohnston [mailto:[EMAIL PROTECTED]] Sent: 5. maaliskuuta 2002 8:08 To: [EMAIL PROTECTED] Subject: [PHP] case insenstive I need to make this case insensitive. This seems like over kill? if((substr($author, 0, 1) == "a") or (substr($author, 0, 1) == "a")) { } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php