How do you loop over a *2d* array and delete a single row (and all its elements),
where that row is determined by a test of the contents. Like so:
<!---
LoginArray[1]=Username
LoginArray[2]=User ID #
--->
<cfloop
from="1"
to="#ArrayLen(LoginArray)#"
index="ArrayRows">
<cfif not Compare(LoginArray[ArrayRows][2],client.UserID)>
<!--- delete array row code goes here --->
<cfbreak>
</cfif>
</cfloop>
I've been fighting a losing battle with this all afternoon.
-------------------------------------------
Matt Robertson, [EMAIL PROTECTED]
MSB Designs, Inc. http://mysecretbase.com
-------------------------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community.
http://www.fusionauthority.com/ads.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4