No scusa.Ho detto una boiata io.
Il while lo usi per recuperare più record. Tu invece stai recuperando un record specifico.