I know these type of questions are asked here, I am trying to search about this problem from lot of time.
It is showing error message Fatal error: Call to a member function bind_param() on boolean in ... on line .... I am working on localhost
It is working fine with every other query.
I have tried echo-ing all the variables I used here it showing correct values
$stmt = $this->conn->prepare("UPDATE profile SET (lastlogin_date = '".$last_login_date."', lastlogin_ip = '".$ip_address."', login_last_try = '".$last_login_date."') WHERE profile_id = ?");
$stmt->bind_param('s', $profile_id);
$result = $stmt->execute();
What is the problem here?