Had the flu 3 weeks ago, lasted just over a week and since then have had a cough. Just recently I have been coughing up green phlegm. Is that bad?

Not necessarily. If you are feeling well otherwise this may simply be your body clearing out material from the inflammation. If, however, you have trouble breathing, fever, chest pain, or other symptoms, go and see a doctor asap. Good luck.