$v) { if (is_array($v)) { $post[$k] = implode(',', $v); } } return $post; } }