Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
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; }