[ic] Looping

Sam Phillips samp at webmaint.com
Thu Oct 12 11:05:16 EDT 2006


[loop list="1..[cgi loop_count]" ranges=1]
	[loop-code]
[/loop]

?

HTH,

Sam.

--
Sam Phillips
Interchange Developer, Webmaint
t| +44/0 870 745 0770	f| +44/0 870 745 0771	e| samp at webmaint.com

Webmaint.com - Building Clever Websites
--

graham hadgraft wrote:
> I want to loop thorgh a piece of code a set number of times as
> specified from a cgi variable.  reading the documentation i cannot
> work out how to do this.
> 
> I have a form on the previous page that a user specifies an integer.
> On the next page i want to loop though a piece of code n times where n
> is the integer set on the previous page
> 
> Any Help?
> _______________________________________________
> interchange-users mailing list
> interchange-users at icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users
> 


More information about the interchange-users mailing list