Posts Tagged by case

PHP Tutorial: Case Insensitive String Comparison

One of my favorite functions in PHP is strtolower. All it does is take the contents in a string and make sure all the big letters are small letters. But it also makes life a bit easier when you're handling user-input content. If you do this comparison: if("James Van Der Beek" == "James van der…