Working with arrays recursively

From: Date: Fri, 31 Aug 2007 12:20:59 +0000
Subject: Working with arrays recursively
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-13759@lists.php.net to get a copy of this message
I know you can set up nested {foreach} blocks in the template but that only works if you know that the array you are working with has a predefined number of levels. Is there a way to set up a block so that you can work with the array recursively? So no matter how many levels the array has, your smarty block can handle and display all the data? thnx, Christoph

« previous php.smarty.general (#13759) next »