Fatal error: Uncaught Error: Call to undefined function mysql_query() in E:\xampp\htdocs\public\class.php:260 Stack trace: #0 E:\xampp\htdocs\public\searchvideos.php(10): Myclass->getUniversities() #1 {main} thrown in E:\xampp\htdocs\public\class.php on line 260