Hi,
Im creating a simple site in PHP, for the most part its going well, however I struggling with an error that I have encountered.
Im generating a random salt upon registering a user. This works fine, However when logging in with this user I am struggling and receive an error. Can somebody please explain where I am going wrong?
I have attatched some images to this post which includes coding and the error message.
NOTE: signup works fine, it is just the log-in which is broken. I have however included screenshots of both pages for better understanding of how the site works.
Signup:
http://picpaste.com/pics/SignUp-gZnFffux.1416827271.PNG
Log-in:
http://picpaste.com/pics/log-in-gB895EyW.1416827394.PNG
Error Message:
http://picpaste.com/pics/error-pic-JwV9iLp8.1416827510.PNG
Kind Regards, Shaun