View Single Post
Old 11-27-2004, 04:13 AM   #1 (permalink)
The-Chihuahua
 
Newb Techie

Join Date: Sep 2004

Posts: 19

The-Chihuahua

Send a message via ICQ to The-Chihuahua
Default Php case sensitivity

I very new to PHP, as in just started messing around with a scipt an hour ago, and I need some help (already) here is the problem

my code is like this
if ($sysdat=='other') echo "Example Other";

but incase of a misstype I want the case sensitivity removed, the only way I can think of doing it is

if ($sysdat=='other' || $sysdat=='Other' || $sysdat=='OTher' || $sysdat=='OtHer' (ect ect... ) echo "Example Other";

is there a way I can have it assume that the case in nonimportant?
The-Chihuahua is offline