PHP Warning: mysqli_select_db() expects parameter 1 to be mysqli, string given in
$conn = mysqli_connect($host,$user,$password)
function selectDB($conn) {
mysqli_select_db($conn,$this->database);
}
i getting following error in above code
PHP Warning: mysqli_select_db() expects parameter 1 to be mysqli, string given in