Warning: Use of undefined constant MYSQLI_BOTH - assumed 'MYSQLI_BOTH' (this will throw an Error in a future version of PHP) in /var/www/golfrewards/include/mysql2i.func.php on line 8

Warning: Use of undefined constant MYSQLI_NUM - assumed 'MYSQLI_NUM' (this will throw an Error in a future version of PHP) in /var/www/golfrewards/include/mysql2i.func.php on line 9

Warning: Use of undefined constant MYSQLI_ASSOC - assumed 'MYSQLI_ASSOC' (this will throw an Error in a future version of PHP) in /var/www/golfrewards/include/mysql2i.func.php on line 10

Fatal error: Uncaught Error: Call to undefined function mysqli_connect() in /var/www/golfrewards/include/mysql2i.class.php:46 Stack trace: #0 /var/www/golfrewards/include/mysql2i.func.php(28): mysql2i::mysql_connect('localhost', 'root', '7kFceKiXVaUA') #1 /var/www/golfrewards/include/functions.php(19): mysql_connect('localhost', 'root', '7kFceKiXVaUA') #2 /var/www/golfrewards/include/settings.php(13): db_connect() #3 /var/www/golfrewards/config.php(54): require_once('/var/www/golfre...') #4 /var/www/golfrewards/index.php(17): require('/var/www/golfre...') #5 {main} thrown in /var/www/golfrewards/include/mysql2i.class.php on line 46