Warning: mysqli_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: YES) in /var/www/html/crud/class/DBController.php on line 14

Notice: Undefined variable: action in /var/www/html/crud/index.php on line 13

Notice: Undefined variable: action in /var/www/html/crud/index.php on line 43

Notice: Undefined variable: action in /var/www/html/crud/index.php on line 73

Notice: Undefined variable: action in /var/www/html/crud/index.php on line 82

Notice: Undefined variable: action in /var/www/html/crud/index.php on line 88

Notice: Undefined variable: action in /var/www/html/crud/index.php on line 113

Notice: Undefined variable: action in /var/www/html/crud/index.php on line 136

Warning: mysqli_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: YES) in /var/www/html/crud/class/DBController.php on line 14

Fatal error: Uncaught Error: Call to a member function query() on bool in /var/www/html/crud/class/DBController.php:19 Stack trace: #0 /var/www/html/crud/class/Student.php(61): DBController->runBaseQuery() #1 /var/www/html/crud/index.php(148): Student->getAllStudent() #2 {main} thrown in /var/www/html/crud/class/DBController.php on line 19