Dirty hair doesn't cause dandruff, but if you don't wash your hair often enough, the oily buildup can contribute to flakes. One way to tell the difference ...