Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp4\htdocs\logd\lib\dbwrapper.php:144 Stack trace: #0 C:\xampp4\htdocs\logd\common.php(118): db_connect('localhost', 'root', '') #1 C:\xampp4\htdocs\logd\home.php(15): require_once('C:\\xampp4\\htdoc...') #2 {main} thrown in C:\xampp4\htdocs\logd\lib\dbwrapper.php on line 144