は私のコードは、私はこのエラーを::取得していますPHP mysqliのコール()
$query1 = "SELECT `user_id` FROM `it_user` WHERE (user_email_address = ? AND user_mobile_number_verified = NULL)";
$stmt1 = $mysqli->prepare($query1);
$stmt1->bind_param("s",$email);
$stmt1->execute();
if ($stmt1->affected_rows == 1) {
//set registration flag to 1 stating that the users mobile number is already verified
echo '<meta http-equiv="refresh" content="0; URL=\'../signin/\'"/>';
}
else
{
$registration_flag = 2;
//redirect user to error page
//echo '<meta http-equiv="refresh" content="0; URL=\'../error/\'"/>';
}
ある
非オブジェクトのメンバ関数bind_param()の呼び出しで** *** on line 62
ここで、私の電子メール変数は正確であり、クエリでも動作しています。
'user_mobile_number_verified =このステートメントに – Chay22
使用を準備されていないNULL'はNULLをチェックするNULL IS 「user_mobile_number_verified IS NULL」として – Saty
IS NULLを使用しても同じエラーが発生します –