I am new to the php development and may be this would be the simple answer but I am having this Fatal error
Fatal error: Call to undefined method mysqli_stmt::get_result() in
well on my local machine, this works fine and Current PHP version is 5.6.11, and on my web server it giving this error. I have tried to chang PHP version to 5.6.30 from 5.4.45
here is my code
 $stmt = $this->conn->prepare("SELECT * FROM profile WHERE email_id = ?");
 $stmt->bind_param("s", $email);
 if ($stmt->execute()) {
     $user = $stmt->get_result()->fetch_assoc();//on this line I am having problem
     $stmt->close();
     return $user;
}
FYI: mysqlnd is enabled on my server
Why is it not working on my web server?
Please put me in right direction
 
    