Renari
Member
I have a while loop generating a list of users like so.
However when this is being output whoever the first user in the query is, it will output that template for the first user the amount of times the while loop would have run. Is this problem related to template caching?
PHP:
while ($user = $query->fetch()) {
$params = $template->getParams();
$hookParams += $user;
$params += $hookParams;
$content .= $template->create('template', $params);
}
However when this is being output whoever the first user in the query is, it will output that template for the first user the amount of times the while loop would have run. Is this problem related to template caching?