PDO - Session Authentication

0

Hello, I'm creating a form using PDO SESSIONS authentication. Connection to the database is OK, but when I do the following test of the logar.php file the code always goes to the else "Gave error!"

I am trying to make a simple login with admin admin, in the name and the password .. I would like to understand why it is not working.

Logar.php

Databasetable

LoginForm

    
asked by anonymous 27.06.2018 / 06:36

0 answers