Flat File Mobile Chat
Started on the old forum in November 2010 · view the original in the archive · old links redirect here
I dnt undastand u bt if u r trying to compare usernames then use strtolower/strtoupper on both supplied username and db username.
$_POST['uname'] = strtolower($_POST['uname']);
$db_uname = strtolower($db_uname);
luvbear wrote: i mean how to make it case insensitive ;)
remove strtolower?
instead what you need done detail it clearly 🙂
strtolower(); is the method to make it case sensitive changes.
for more see this