do while loop in volt

Hi,

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



18.5k

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.6k

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



18.5k

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