<cfloop from=1 to=listlen(listA) index="i">
        <a href="#listGetAt(listA,i)#">#listGetAt(listB,i)#</a>
</cfloop>

-----Original Message-----
From: Saturday (Stuart Kidd) [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 22, 2005 11:14 AM
To: CF-Talk
Subject: loop list


Hi,

Up until now I had a nice little loop list going.

                 <cfloop list="#GetArticle.articleLinks#"
index="myLink">
                 <cfoutput><a href="#myLink#"
class="contentarearight" target="new">#myLink#</a><br></cfoutput>
                 </cfloop>

Now i have decided to have another field in my database which is
called articleLinksNames - inside here will be the names that
correspond to the list of links each separated by a comma.

I know that this isn't the best practice but i've had these list of
links in this table for a long time and would be a hefty job changing
it - so at the moment i'd like to make a fix.

Is there a way I can now roll through 2 lists at the same time so
that I can have my articleLinks in the href and the articleLinksNames
in the output to the screen (which users will see)?

Thanks for any help,

Saturday




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218962
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to