Fatal error: Uncaught Error: Call to undefined function mysql_connect() in D:\xampp\htdocs\Graph\Code\PHP\Includes\DBConn.php:13 Stack trace: #0 D:\xampp\htdocs\Graph\Code\PHP\DBExample\Graph2.PHP(4): connectToDB() #1 {main} thrown in D:\xampp\htdocs\Graph\Code\PHP\Includes\DBConn.php on line 13