$articlelist = array(
array(
"title" => "第一篇文章",
"author" => "小王",
"content" => "又写了一篇不知所云的文章"
),
array(
"title" => "第二篇文章",
"author" => "小李",
"content" => "又写了一篇不知所云的文章"
)
);
$smarty->assign("articlelist",$articleList);
{section name=article loop=$articlelist}
{$articlelist[article].title}
{$articlelist[article].author}
{$articlelist[article].content}
<br/>
{/section}
开发考验细心
额, $smarty->assign("articlelist",$articleList); l写成大写的了