I have been going round in circles and not able to get this login to work at all....
I have also tried to pick apart what Ray helped me with on another login from a different site but still no joy.
Would appreciate any help please - have attached the files and db in a zip.
Basically, index.php is the login page, which *should* on successfull login take the user to secure.php
There are 2 logins (using UserFirstName as the username and UserPassword as the password)
Once logged in, secure.php should show relevant content based on the login details
ie if logging in as staff, staff content shows etc...
The 2 logins are:
Staff / test
Governors / test
Thanks in advance