In pedal terms, flanging is done by time shifting one copy of the signal, phasing is done by applying a frequency dependent phase shift to one copy.
Flanging sounds much more in your face as a harsh shifting comb filter across the whole range of frequencies, while phasing tends to more smoothly accentuate/cut a broader band of frequencies.