query($sql) === TRUE) { echo ""; } else { echo "Error: " . $conn->error; } } $conn->close(); ?>