Fatal error: Uncaught Error: Call to undefined function mysql_connect() in db.php:2 Stack trace: #0 class.golfCourses.php(10): include() #1 index.php(3): golfCourses->__construct() #2 {main} thrown in db.php on line 2