Warning: mysqli_select_db() expects exactly 2 parameters, 1 given in /home/rigab/public_html/includes/functions/database.php on line 22

Fatal error: Uncaught Error: Call to undefined function mysql_query() in /home/rigab/public_html/includes/functions/database.php:46 Stack trace: #0 /home/rigab/public_html/includes/application_top.php(76): tep_db_query('select configur...') #1 /home/rigab/public_html/index.php(15): require('/home/rigab/pub...') #2 {main} thrown in /home/rigab/public_html/includes/functions/database.php on line 46