У меня есть строка ошибки это - Fatal error: Call to a member function bind_param() on a non-object in...
Вот мой код:Php Mysqli Bind_result
function data() {
$getid = 'SELECT wid FROM chii WHERE email = ?';
$stmt = $this->conn->prepare($getid);
$stmt->bind_param('s', $this->email);
$stmt->execute();
$stmt->store_result();
$stmt->bind_result($this->wid);
}
Дубликат http://stackoverflow.com/questions/18457821/how-to-make-mysqli-throw-exceptions-using-mysqli-report-strict –