PHP Login sytem error
So I watched your video till the end and copied the exact same code u put but i get an error saying Credentials do not match.This shows up when i try to log in and to register.Please help me because i need to io this in 5 more days.
I have the same problem. No errors, just whatever I type as user and pass, the message is - $message = 'Sorry, those credentials do not match';.
Everything in database looks alright.
I found the error. In database password field is 50 characters, but when the pass is cryptes, becomes longer than 50, that's why you see that everything with the INSERT is ok, after that you can not retrieve the same pass from db. Just make the pass field bigger. Hope that helps you!
i have everything working but once i add one email and password it wont let another person register how do i fix that