the implode function goes through the array and creates a list such that
$zip[0] = "95112"
$zip[1] = "11234"
$zip[2] = "01123"
...
$zip[n] = "...."
will become 95112,11234,01123...,n
then the sql statement says
select * from table where zip
IN (95112, 11234, 01123 etc)
the IN clause (in oracle atleast) is like an or statement so essentially you're asking your database to select everything from table where zip is either 95112, OR 11234 or 01123 or ... n (down the line)
hope that helps
jm _