made that for ya,
';
ksort($tree);
var_dump($tree);
echo '';
$lastplace = '';
while (list($key, $arr) = each($tree))
{
if ($lastplace != $key)
{
echo '* ' . $key . "\n";
$lastplace = $key;
}
ksort($arr);
while (list($pers, $plc) = each($arr))
echo " $pers is in $plc\n";
"Kath" <[EMAIL PROTECTED]> wrote in message
015301c13156$2c273500$[EMAIL PROTECTED]">news:015301c13156$2c273500$[EMAIL PROTECTED]...
> I have a MySQL table which stores information like this:
>
> | Type | Place Name | Place Abbrv |
>
> and lets say I have data in the table like:
>
> Example #1:
>
2 matches
Mail list logo