sorry about my misunderstanded about ur problem
but i'm still little bit confuse about your question to delete result set
cause i think no need to delete the result set since you have an option
whether you want to display it or not
while($row = mysql_fetch_array($result)) {
$value= $row["zipcode"];
if($value > your calculation){ // check whether you want to accept it based your zip code
$value=""; // if not accepted, give the $value null value, so will not be displayed
}
so the idea is simply give the null value to whatever data you dont want to display based on your calculation.
sorry it just my opinion, please explain me if im still wrong again