If I have the flu and I don't spit out phlegm when I cough & its still there at 2 weeks an I contagious?

If I have the flu and I don't spit out phlegm when I cough & its still there at 2 weeks an I contagious?
Post Opinion