Ok I am comparing strings using similar_text()
but the result is being affected by the fact that it is case sensitive. Is there a way to turn this off somehow in php.ini or something?
views:
31answers:
2
+2
A:
Convert the strings to lowercase which have to compared using strtolower()
Shubham
2010-07-25 04:04:16
A:
Not that I can tell. You could just strtolower()
both arguments for similar_text()
...
Jason McCreary
2010-07-25 04:05:14