i am in the same situation as you, coughing up phlegm constantly since yesterday, so i went to the doc today and it turns out i have bronchitis, he prescribed me to amoxacillin and an albuterol inhaler : ]