0
Asking for fixing code
https://sololearn.com/compiler-playground/w2qg9A72Ijmz/?ref=app Why my code isn't working?
1 ответ
+ 1
I haven't had much to do with php in a long time, but I think you want to use strcmp to compare you strings instead of ==, because == can return many inaccurate answers.
-----edit-----
Sorry, you can read here about it:
https://stackoverflow.com/questions/3333353/string-comparison-using-or-vs-strcmp