PHP implode_wrapped(); Implode with before and after

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

2 comments (RSS)

  1. anonymous

    Clever!

  2. anonymous

    You are the man!!!

Leave a comment