So far you have indicated that the swollen glands in your neck are most likely enlarged lymph nodes and you do not have symptoms of a throat infection.
Lymph node swelling in the neck with persistent hoarseness or with problems swallowing raises concern about a more serious throat condition.
Do you have hoarseness or problems swallowing that have persisted for more than three weeks?