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