Warning: mysqli_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: NO) in D:\xampp\htdocs\DTH\DTHWeb\functions\myFunctions_MySQL.php on line 6

Fatal error: Uncaught Error: Call to undefined function mysql_error() in D:\xampp\htdocs\DTH\DTHWeb\functions\myFunctions_MySQL.php:8 Stack trace: #0 D:\xampp\htdocs\DTH\DTHWeb\PersonalConsentForm.php(2): include() #1 D:\xampp\htdocs\DTH\DTHWeb\index.php(22): include_once('D:\\xampp\\htdocs...') #2 {main} thrown in D:\xampp\htdocs\DTH\DTHWeb\functions\myFunctions_MySQL.php on line 8