PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I am just learning php and am creating a login page. After clicking submit, login.php handles the form data. login.php loads the account data from a text file and receives the data from the main form fine, but when I check to see if the entered data matches the data from text file, it should display the welcome message otherwise access denied. Even though the variables appear to be equal, it never passes the test. Here is the code I am writing.