Fatal error: Call to a member function bind_param() on boolean [duplicate]

The problem lies in: The prepare() method can return false and you should check for that. As for why it returns false, perhaps the table name or column names (in SELECT or WHERE clause) are not correct? Also, consider use of something like $this->db->conn->error_list to examine errors that occurred parsing the SQL. (I’ll occasionally echo the actual SQL statement strings and paste into phpMyAdmin to test, … Read more