Skip to main content
OJ Johnson's user avatar
OJ Johnson's user avatar
OJ Johnson's user avatar
OJ Johnson
  • Member for 7 years, 3 months
  • Last seen more than 5 years ago
awarded
awarded
accepted
comment
Grouping ZIP codes into ranges
I like both the approaches. Both address the $zips##_array[$zip]. But neither address the if statements like these. They are always 5,000 apart. with a known starting point and a known ending point. if ($zipInt >= 35000 && $zipInt < 40000) { $zips35_array[$zip] = $org_ids; }
asked
Loading…