RE: [PHP] case insenstive
| From: | Niklas Lampén | Date: | Tue, 05 Mar 2002 06:10:03 +0000 |
| Subject: | RE: [PHP] case insenstive | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-87228@lists.php.net to get a copy of this message | ||
if (eregi("^a", $author))
{
print "blah!";
}
Niklas
-----Original Message-----
From: jtjohnston [mailto:taylorjo@collegesherbrooke.qc.ca]
Sent: 5. maaliskuuta 2002 8:08
To: php-general@lists.php.net
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