Just for clarification: what are your intended results?
Are you making a list of clickable teams from a database?
Could you, instead of using a two dimensional array use an array with a
structure in it like this:
<cfscript>
Standings[1][TeamName] = "Barracudas";
Standings[1][TeamID] = "17";
</cfscript>
Then you can spit out your clickable link as follows:
<A
HREF="TeamPlayers.cfm?TeamID=#Standings[1][TeamID]#>#Standings[1][TeamName]#
</A>
Hope this helps.
Signed,
Bill King
HostWorks INC
http://www.hostworks.com
-----Original Message-----
From: Jeffrey R. Thomas [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 08, 2001 8:03 PM
To: CF-Talk
Subject: Array String Concatenation
I am trying to concatenate an array string.
This is what I presently have:
<cfset Standings[ArrayLen(Standings)+1][1]="#TeamName#">
I would like to add alink with url.TeamID to the team name so that when I
output the array using a loop the TeamName will show up as a link.
I would like to have something like this (below) to be added to the array
entry above.
<A HREF="TeamPlayers.cfm?TeamID=#TeamID#>#TeamName#</A>
Thanks..
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists