Re: [SMARTY] for-loops without arrays

From: Date: Sat, 19 Jul 2003 10:47:45 +0000
Subject: Re: [SMARTY] for-loops without arrays
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-9931@lists.php.net to get a copy of this message
Thanks for your response Ben , I've already thought of this but I'm sure there must be a way to realize this. Anybody an Idea or an advice ? Perhaps with {counter..} ? if anybody likes to add me in ICQ ( my number : 131810590 ) greetz fLo Ben wrote : " Well actually i couldn't find anything like for in the manual, but why dont you just assign an array to smarty whith all the numbers you need and walk through it whith an foreach for example? greetz ben "
At 03:54 19.07.2003 +0200, you wrote:
Hi all , I want to do something like this in my template : for($i = 1; $i<= $number; $i++) { echo "[".$i."]"; } how can I realize this : The start-point is always 1 and I also know the end. greetz fLo
_________________________________________________________________ Messenger  -  Wer in Echtzeit kommunizieren will, lädt den MSN Messenger. Cool, kostenlos und mit 3D Emoticons: http://messenger.msn.de

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