Looping over a list to create a url string
Hi All,
This should be easy for someone with a little experience but for some reason I am having problems with it. I need to create a url string based on query results. Basically the query results are:
| item | Price |
|---|---|
| 12554 | 2.00 |
| 23885 | 3.50 |
| 12554 | 5.00 |
| 88544 | 2.47 |
I need to create a url string like www.something.com/index.cfm?item1=122554&item1price=2&item2=23885&item2price=3.50 etc etc (I am actually trying to just create the string and then append it onto a url. The index needs to be included too like item1, item2 but there will be a different number of results for each order if that makes sense - like this person bought 4 items but somebody else might buy 2).
Can somebody give me a good way to do that? I have been trying to loop over the query somehow but it isn't working for me. I ahve also tried making it a list but no dice. It seems like it should be so simple.
Thanks,
Red
