ok, avevo messo male l'id nella query sql