do while loop in volt

Hi,

How can i do 'do-while' loop in volt? and aslo wanna know about recursive loop in volt.........



19.6k

http://docs.phalconphp.com/es/latest/reference/volt.html#list-of-control-structures

There isn't a Do while. But maybe you could manipulate the For index.loop var to do a workaround.



1.7k

I want script for doing recursion in volt... Thanks in advance..



19.6k

I cannot help you there (I don't have such skill in Volt), but maybe you could simulate it creating a Volt function http://docs.phalconphp.com/es/latest/reference/volt.html#id1