Warning: mysqli_query() expects at least 2 parameters, 1 given

MySQL queries work fine locally but when uploaded to server. I keep getting the following error from my database connection file.
Warning: mysqli_query() expects at least 2 parameters, 1 given

Here is the line the error occurs

list($curr_symbol) = mysqli_fetch_row(mysqli_query(“select sys_curr from settings”)); // currency symbol

Thats very strange, according to the docs mysqli_query requires 2 parameters, the first one being the actual db link
http://php.net/manual/en/mysqli.query.php

OP already posted this to another forum and was given answers BEFORE he reposted again here.

Sponsor our Newsletter | Privacy Policy | Terms of Service