Appending to a string in a loop?

From: Date: Sun, 10 Aug 2003 00:01:03 +0000
Subject: Appending to a string in a loop?
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-10019@lists.php.net to get a copy of this message
Say I have an array and I'm looping through it. Say I also have a variable that I'd like to append the value from the array to in each iteration. Is there an easy way to do this? Example: {assign var="url" value="?" {foreach from=argArray item=curr_data key=curr_key} {* code to append values from argArray to url here... *} {/foreach} Thanks for any input you can provide! John

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