PHP implode_wrapped(); Implode with before and after

Content

function implode_wrapped($before, $after, $array, $glue = '') {     return $before . implode($after . $glue . $before, $array) . $after; }
Posted . Did this help you? Please let me know with a comment. Thank you

Comments (RSS)

  1. anonymous

    Clever!

  2. anonymous

    You are the man!!!