i'm a little confused on how to get my loops into the templates.
how would i get mypage.php:
Code:
while ($result = $db->fetch_array($results)){
$something .= $result['field1'];
$something2 .= $result['field2'];
}
$templater->register('something ', $something );
to show all looped values in mytemplate:
Code:
<ul>
START TO DISPLAY LOOPED DATA
<li>
{vb:raw something}
</li>
END TO DISPLAY LOOPED DATA
</ul>