The correct answer is A because 'advised' is the past tense verb form meaning 'gave advice to'. The sentence requires a verb to describe what the teacher did. Option B 'advicing' is not a real word, option C 'advice' is a noun not a verb, and option D 'advising' is present continuous tense which doesn't fit the past context.