onlyican.com
Jan 17th 2006, 3:41 pm
Hey
I have built a message function, and got someone to test it and hey, a glitch
They typed my name is as Admin, when my name is admin.
Now the database is saying I have a message
If i view the message i can't
I have a If statement saying
if ($logged_in_user == $message_to) {
show message
}else{
deny
}
anywho
Is there a replace function to change all UPERcase to lowercase.
I don't want to do a replace for A = a and B = b .....
I have built a message function, and got someone to test it and hey, a glitch
They typed my name is as Admin, when my name is admin.
Now the database is saying I have a message
If i view the message i can't
I have a If statement saying
if ($logged_in_user == $message_to) {
show message
}else{
deny
}
anywho
Is there a replace function to change all UPERcase to lowercase.
I don't want to do a replace for A = a and B = b .....