SyntaxFix
Write A Post
Hire A Developer
Questions
That query is failing and returning false.
false
Put this after mysqli_query() to see what's going on.
mysqli_query()
if (!$check1_res) { printf("Error: %s\n", mysqli_error($con)); exit(); }
For more information:
http://www.php.net/manual/en/mysqli.error.php