in .php
while ($line = mysql_fetch_assoc($result)){
$value[] = $line;
$value['newvalue'] ='223457';
}
$smarty->assign('view', $value);
in .tpl
{section name=i loop=$view}
{$view[i].newvalue}
{/section}
no output for newvalue.im newbie in smarty