It helps to have a conversation with your daughter first to ask her just what is going on and why-very important part here because she mqay feel the restroom at school or in public is anything (scary-yucky-smelly-nasty or all the above). Then talk to her teacher and see if she needs special times to go without any problem during school hours-some kids just can't wait and need toknow it is ok with the teacher and when they can tell their teacher that is where they are going. I think if it is my kid I might try to find another doctor to talk to and possibly one that specializes in pediatric urninary problems, maybe nothing but you will kick yourself if she can be treated and missed that call-I have done that and it leaves a real bad feeling with everyone for quite awhile. Also send a change of clothes for those accidents at school. Does she have ADHD?- Some kids can't bother to stop because they just don't have the time or reason to remember they need to do that and it shows up in school because there are so many activities to do. Or is she extremely shy? That too causes situations.