我有很多这样的用户:
Array
(
[9] => Array
(
[id] => 246
[name] => John
[surname] => Doe
)
[13] => Array
(
[id] => 246
[name] => Mark
[surname] => Doe
)
[19] => Array
(
[id] => 246
[name] => Bill
[surname] => Buffalo
)
)
我想有这样的输出:
<h4>B</h4>
Buffalo Bill
<h4>D</h4>
John Doe
Mark Doe
我怎样才能完成这个结果?