Say I have the following code:
$arr = array('id' => $tarr = array('1' => 'Fred', '2' => 'Wilma', 'c' => 'Bam Bam'));
echo '<a href="?tag='.$tarr.'">' . implode( '</a>, <a href="?tag='.$tarr.'">', $tarr) . '</a>';
This displays: Fred, Wilma, Bam Bam
but the href shows value Array instead of Fred for Fred, Wilma for Wilma etc
Cheers
You can build an output string (or array as shown here) using a foreach loop: