Logically, I am pretty damn sure this should work, buy it isn't. I am building a text file db driven 'are you human' test. The test is of questions and answers. To validate the answers, I am using the built in php in_array function. Here is my code and I hope you guys can help me out:
My text file is:
The script seems to work some times but not all the time. Can anyone see what I am doing wrong?
Thanks to all who might reply