query($sql); if (!$result) { printf("Errormessage: %s\n", $conn->error); } ?>