Going bald with this one
I have a cookie that has a series of numbers separated by commas. I can read this array, but I need to check if a particular number exists in this array in order to write in a line.
My array = "62,430,26,92" [is read from a cookie]
If my item id is say 62, I want to add the extra line to item 62.
Currently it seems to be adding the line to all records, so I need some sort of routine to find the item id in the array, and if not, ignore the line.
I was given this piece of code, but it is not clear what it is doing, and is not working.
propid = SProps("PropID")
For iLoop = LBound(pds) to UBound(pds)
If CStr(pds(iLoop)) = CStr(propid) then
Here I write in my line of text if the id numbers match
Any help would be apprecated