hi i have a question..
my subscribers has subscribed to several newsletters groups : Entertainment/Games/Shopping, which means that 1 subscriber can be subscribed to more than 1 newsletter.
when i create a newsletter, i want to select the list of subscribers based on the newsletter groups selected. (the groups are displayed in checkboxlists.)
and so i created a FOR LOOP, which means that,
FOR EACH checked group,
i will select the list of userids out, and place them inside an arraylist.
however, the problem is it only displays 1 record instead of 4.
i tried having the checkboxlist checked with 3 newsletters group,and the record becomes 3 instead of the total number (total users for entertainment + games + shopping) of 14.
why is this so?
thanks in advance for your replies! ^^
my subscribers has subscribed to several newsletters groups : Entertainment/Games/Shopping, which means that 1 subscriber can be subscribed to more than 1 newsletter.
when i create a newsletter, i want to select the list of subscribers based on the newsletter groups selected. (the groups are displayed in checkboxlists.)
and so i created a FOR LOOP, which means that,
FOR EACH checked group,
i will select the list of userids out, and place them inside an arraylist.
however, the problem is it only displays 1 record instead of 4.
i tried having the checkboxlist checked with 3 newsletters group,and the record becomes 3 instead of the total number (total users for entertainment + games + shopping) of 14.
why is this so?
thanks in advance for your replies! ^^