> is it better to store user names as upper and lower case? should they bee > converted to one case?
Store it where? It depends if the place you store it in and the comparisons there are going to be case sensitive or not. Most database fields are going to be case sensitive while a PHP comparison will not be. > I have a script the checks for names and ... > > Mark is not the same as mark, or MaRk ... In PHP when you test with an "equal to" (==) they are not the same. You can use the strcasecmp() function to compare string case insensitively, though. In a general database VARCHAR field, they would be the same. > is there a way of making a string into lower case? Strtolower() ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php