I\'m a novice at PHP and I need a quick solution to the following problem but can\'t seem to come up with one:
I have a multi-dimensional array like so
very simple go for this
$str; foreach ($arrays as $arr) { $str .= $arr["tag_name"] . ","; } $str = trim($str, ',');//removes the final comma