• 谈天说地
  • 请教,如何在首页头部调用 {foreach $mess_data as $v}

我想 foreach 出未读消息,在首页用下拉菜单的形式展示。

但直接这样调用会出错,请问应该如何调用?