The greenish discharge from pee associated with burning urination is likely to be due to the urinary tract infection
You should have the urine r/e, urine c/s, blood counts and physical examination done by doctor/urologist/std
specialist to know the underlying etiology.
The oral antibiotics
course of 5-7 days may be required to treat the bacterial infection.You should also drink more water and drink cranberry juice which helps fight infection in a natural way.