$values = array(array(88868), array(88867), array(88869), array(88870)); foreach ($values as &$value) $value = $value[0];