LAdProg2005
Programmer
hello,
i needed path forward in regards to how to parse through data in variable from cfexecute.
after cfexecute is successful, my variable has following data when i do cfdump or cfoutput:
fruits
apple banana
peach orange
veg
beans eggplant
drinks
coke pepsi
drinks
fanta
i am having trouble looping through the list. i want to parse through and put it in table to format it nicely for example
1) look for fruits and print uptil veg title is found
fruits
apple
banana
peach
orange
veg
beans
eggplant
drinks
2) drinks is listed twice (one of it needs to be removed)
drinks
coke pepsi
drinks
fanta
becomes
drinks
coke
pepsi
fanta
any pointers will be helpful...
thanks
i needed path forward in regards to how to parse through data in variable from cfexecute.
after cfexecute is successful, my variable has following data when i do cfdump or cfoutput:
fruits
apple banana
peach orange
veg
beans eggplant
drinks
coke pepsi
drinks
fanta
i am having trouble looping through the list. i want to parse through and put it in table to format it nicely for example
1) look for fruits and print uptil veg title is found
fruits
apple
banana
peach
orange
veg
beans
eggplant
drinks
2) drinks is listed twice (one of it needs to be removed)
drinks
coke pepsi
drinks
fanta
becomes
drinks
coke
pepsi
fanta
any pointers will be helpful...
thanks