Code: Select all
$arr_all_tags[] = array($get_all['work_area'] => $get_all_tags['tag']);I am trying to output the values using the following code:
Code: Select all
foreach( $arr_all_tags as $work_area=>$tags )
{
echo "<strong>" . $work_area ."</strong><BR>";
sort( $tags );
foreach( $tags as $tag )
{
echo $tag . "<BR>";
}
}Code: Select all
0
Tag1
1
Tag2
2
Tag3
3
Tag4Can anyone tell me what I am doing wrong?
Thanks in advance
rj