I am currently developing a login form which the user will login from to access dashboard.php. The problem is that when I add the key to the table in phpmyadmin and then try to login, nothing happens. Same with when I enter it wrong.
My code is as follows:
config.php
<?php
define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'zxcr_sprxadmin');
define('DB_PASSWORD', 'Z@nico9TJK');
define('DB_DATABASE', 'zxcr_mhqsprx');
$db = mysqli_connect(DB_SERVER,DB_USERNAME,DB_PASSWORD,DB_DATABASE);
?>
dashboard.php
<?php
include('session.php');
?>
MySQL table: www.prntscr.com/aejxpy
Login Form: www.prntscr.com/aejxvg
login.php: www.prntscr.com/aejyjb
session.php: www.prntscr.com/aejywn
I just have no clue what it could be, any help is much appreciated.