Hi, I am new to PHP and MySQL but I decided that I would take on the challenge of creating a game and learn as I go. I have a nice layout and information for my pages, but when I try to login it displays the error "Please enter a username" and I think I have it set correctly to display that if the username field is left blank, but it displays even if I enter my username and password.
Here is the php code for index.php(equivalent to login.php).
and this is the form for the index.php page
and this is the code for the authenticate.php
Thanks in advanced for any help given,
Laertes.