i keep receiving this error: Call to undefined method mysqli_result::fetch_both()... can somebody please answer this for me :  

**im trying to create a dummy login page as practice. i keep getting this error: Call to undefined method mysqli_result::fetch_both() 
**

 <?php

	if (isset($_POST['LOGIN'])){
			
		$EMAIL = $_POST['loginusernameinput'];
		$PASS = $_POST['loginpasswordinput'];
		
		$result = $conn->query("SELECT * FROM userinformationtbl WHERE Email ='$EMAIL' AND password ='$PASS'");
		
		$row = $result -> fetch_both(MYSQLI_BOTH);
		session_start();
		$_SESSION["userID"] = $row["userID"];
		header ('location: account.php');
		
	}
		
		

?>