Hi,
I have a form, with some select lists etc and hidden fields
with the records ID so that it knows what to update.
If I have two lists as such and convert them to arrays, how
can I join each of their values?
<cfset variables.setTemplateArray =
listToArray(form.setTemplate,",","true") />
<cfdump var="#variables.setTemplateArray#" />
<cfset variables.setTemplateIDArray =
listToArray(form.setTemplateID,",","true") />
<cfdump var="#variables.setTemplateIDArray#" />
e.g if setTemplateArray returns:
a
b
c
and setTemplateIDArray returns
1
2
3
How can I join them and so that their values are directly
related to eachother in order?
e.g.
a 1
b 2
c 3
Is this possible?
Thanks,
Mikey.