A
A
Arjey W2014-01-12 03:34:04
PHP
Arjey W, 2014-01-12 03:34:04

How to implement loop in Quicky templates?

I would be interested to know how to implement loop in quicky templates.
Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Arjey W, 2014-01-12
@vendelieu

I found a way out myself ... I don’t know, maybe it will help someone here:
Pass a variable with data from the database through php
and in the template:

{section name='mysection' loop=$table}
{$table.index.name}<br /> //index = текущий индекс
{/}

S
Sergey, 2014-01-12
Protko @Fesor

while is a statement, not a function...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question