The ping sensors (afaik) can do one measurement at the time, so for 2 distances you need two measurements.
What you might do is to put 2 PING sensors on different pin's and have some code to see which return first (time1) and second (time2)
and subtract times to get an indication of the distance.
I think the best results are with one sensor - 2 measurements.