connect_errno!=0) { echo "Error: ". $polaczenie->connect_errno. "Opis: ". $polaczenie->connect_error; } else { $gameVersion = $_POST['gameVersion']; $steamId = $_POST['steamId']; $userName = $_POST['userName']; $sql = "INSERT INTO feedback SET gameVersion='$gameVersion', steamId='$steamId', userName='$userName'"; if($rezultat = @$polaczenie->query($sql)) { echo "Udało się"; } else $polaczenie->close(); } } ?>