your daughter may have or be developing a urinary tract infection or perhaps some urethritis (irritation at the urinary opening). she should be drinking plenty of liquids and should see her medical provider as soon as possible for a urinalysis to determine if she has an infection.
my daughter told me she has some discomfort right before peeing. she said when she wipes she also sees a little blood.