Hello,
I am receiving a error
This is the line 34 of the code
I know it says : “No user with that e-mail address exists.”
but that email is in the database
Hello,
I am receiving a error
This is the line 34 of the code
I know it says : “No user with that e-mail address exists.”
but that email is in the database
Your code shows the table as users but your Phpmyadmin shows the table is login, so…
And for gawd sake, stop storing passwords in plaintext.
On the plus side, your using PDO. Good job!
Its just in plaintext till all the bugs are worked out.
and also thanks for your help I over looked that.
You could also use the following test:
$userExists = $query->fetch();
if($userFetch !== false). // This is because if fetch() cannot get a row it returns false
{
4salt = "......