Du glemte at forespørge: $sql = mysqli_query($connection, "INSERT INTO csv (id, name) VALUES ('$id', '$name')");