Hi all,
I want to check whether a user has input all lowercase varchars for "username" and all uppercase varchars for "password".
How can i do this?
If possible can this check be done in the query?
checking for uppercase and lowercase varchars
Moderator: General Moderators
Re: checking for uppercase and lowercase varchars
preg_match ("%^[A-Z]*$%",$sring) -> only uppercase lettersgurjit wrote:Hi all,
I want to check whether a user has input all lowercase varchars for "username" and all uppercase varchars for "password".
How can i do this?
If possible can this check be done in the query?
preg_match ("%^[a-z]*$%",$sring) -> only lowercase letters
you could always strtoupper() or strtolower() before you store any information 
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.