Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\Apache24\codeigniter\system\database\drivers\mysql\mysql_driver.php:74 Stack trace: #0 C:\Apache24\codeigniter\system\database\DB_driver.php(116): CI_DB_mysql_driver->db_connect() #1 C:\Apache24\codeigniter\system\database\DB.php(149): CI_DB_driver->initialize() #2 C:\Apache24\codeigniter\system\core\Loader.php(347): DB(Array, NULL) #3 C:\Apache24\codeigniter\system\core\Loader.php(1172): CI_Loader->database() #4 C:\Apache24\codeigniter\system\core\Loader.php(153): CI_Loader->_ci_autoloader() #5 C:\Apache24\codeigniter\system\core\Controller.php(52): CI_Loader->initialize() #6 C:\Apache24\codeigniter\application\i_hotel\controllers\i_hotel.php(6): CI_Controller->__construct() #7 C:\Apache24\codeigniter\system\core\CodeIgniter.php(309): I_hotel->__construct() #8 C:\Apache24\htdocs\i_hotel\index.php(202): require_once('C:\\Apache24\\cod...') #9 {main} thrown in C:\Apache24\codeigniter\system\database\drivers\mysql\mysql_driver.php on line 74