Posts Tagged by strings
PHP Tutorial: Case Insensitive String Comparison
| April 24, 2012 | Posted by Greg Bulmash under PHP |
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…
Recent Comments