You are here: a Smarty equivalent of the php 'for' « Smarty Templates Posts « IT news, forums, messages
a Smarty equivalent of the php 'for'

Posted by "pobox@verysmall.org" on 09/18/05 22:22

Is there a Smarty equivalent of the php 'for'? I could not find so far.
I have an array which I process in a peculiar way, and I just need a
simple counter to turn the cycle and stop at some point, which stop I
can control from within the cycle. At the moment I use a combination of
'foreach', without using the 'item' and a 'counter' in addition which
provides the values I need, but looks primitive and I can't stop it.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация