mysqli_query() को दी गई क्वेरी विफल हो रहा है और false लौटा रहा है ।
इसे mysqli_query() after के बाद रखें यह देखने के लिए कि क्या हो रहा है।
if (!$check1_res) {
printf("Error: %s\n", mysqli_error($con));
exit();
}
अधिक जानकारी के लिए:
https://www.php.net/manual/en/mysqli.error .php