loop

From: Date: Sat, 30 Nov 2002 18:42:00 +0000
Subject: loop
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6605@lists.php.net to get a copy of this message
Is it possible to do foreach loop over values stored in some var in config file? So for example i have: var = label1, label2, label3 and I want do a foreach like this: {foreach from=#var# ....} One more question.. I want that same var to contain some string like 'Add some text' and to display it on a submit button, but all i get is the first word of a string 'Add'? I tried putting string in ' ' but it's the same. Nino

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