Hi.
Been doing a lot of PHP lately, so very rusty with CF (still using 4.5) - and I was 
never very good at it to begin with ;-)

I want to do a for loop for a number of records. I'm using this:

<cfset records = #ListLen(form.story_id)#>

which sets #records# to, say, 2

then I want something like

for ($i=1;$i<#records#;$i++) {
do some action
}

but I need the CF equivalent. can anyone suggest anything?

TIA

ianwest



Ian Westbrook,
FutureDream Media Limited,
(W): www.futuredream.net
(E): [EMAIL PROTECTED]
(T): +44 (0) 1303 258 985
(M): 07939 510 812

This message may contain information which is legally privileged and/or confidential. 
If you are not the intended recipient, you are hereby notified that any unauthorised 
disclosure, copying, distribution or use of this information is strictly prohibited. 
Such notification notwithstanding any comments, opinions, information or conclusions 
expressed in this message are those of the originator, not of FutureDream Media Ltd, 
unless otherwise explicitly and independently indicated by an authorised 
representative of FutureDream Media Ltd.

Reply via email to