While nothinggold's post was insensitive the way it was worded I do agree with the sentiment.
My sister's children are scared of dogs and they way they behave when we have to pass one or jump into on coming traffic is nothing short of ridiculous. Their behaviour is likely to get them bitten or run over one day.
Dogs can get anxious around howling and flapping children, particularly ones who are not used to children. Anxious dogs can become snappy dogs.
Like it or not dogs are part of modern society and we have to share our streets and parks with them. That is never going to change, no matter how much you want it to, it just won't.
It makes sense to me to teach all children, from a young age, how to behave properly and safely around dogs.
Cheeky I am sorry about your dd. It must have been a terrible shock for you both. Maybe after a few months you could introduce her to a small, friendly dog if you know any and slowly build from there. I am not suggesting that you have to turn her into the world's biggest dog lover or even that she should like them or want to pet them, but for her own sanity she should be able to pass a dog on the street without breaking into a cold sweat.
PAT might have a dog in your area you could ask to meet if you don't know any small, friendly dogs.
FWIW I know and regularly interact with loads of dogs and I've never been bitten by a dog. It's very rare. The vast majority of dogs are friendly.