I am preparing the query using mysqli prepare but this is giving an error
check the manual that corresponds to your MySQL server version for the right syntax to use near '? ) AND ( user_fullname ? )'
$query="DELETE FROM table WHERE ( quiz_answer ? ) AND ( user_fullname ? )";
$stmt = $mysqli->prepare($query);
$stmt->bind_param('ss',array('IS NULL','IS NULL'));
$stmt->execute();
Please help me finding the problem in query Thanks in advance