Fatal error: Uncaught TypeError: mysqli_query(): Argument #1 ($mysql) must be of type mysqli, string given in /var/www/html/phpbin/medlib/ejournals/index.php:14 Stack trace: #0 /var/www/html/phpbin/medlib/ejournals/index.php(14): mysqli_query('SELECT DISTINCT...', Object(mysqli)) #1 {main} thrown in /var/www/html/phpbin/medlib/ejournals/index.php on line 14