FYI - New to ASP
I'm trying to get multiple values from checkboxes inserted into a table using arrays. I'm using VBscript - ASP 1.1 (not 2.0) and here is what I want to do.
I have a page that displays a list of news articles - includes Article_ID, Title, Date. I have a checkbox next to each Title that automatically gets assigned a name of "CB0" - "CB1" and so on, the value of each checkbox includes the Article_ID number (unique to each article).
When a user selects multiple checkboxes and clicks Submit on the form I want the Article_ID to be collected and stored into another Table as a string value like "12,14,15,16,23 ". I also need to be able to retrieve these Article_ID numbers on another page to display back to the user which articles they have selected. So I need to be able to reparse the string without commas.
I have found many posts about arrays but not in ASP code, so any help would be appreciated.
I'm trying to get multiple values from checkboxes inserted into a table using arrays. I'm using VBscript - ASP 1.1 (not 2.0) and here is what I want to do.
I have a page that displays a list of news articles - includes Article_ID, Title, Date. I have a checkbox next to each Title that automatically gets assigned a name of "CB0" - "CB1" and so on, the value of each checkbox includes the Article_ID number (unique to each article).
When a user selects multiple checkboxes and clicks Submit on the form I want the Article_ID to be collected and stored into another Table as a string value like "12,14,15,16,23 ". I also need to be able to retrieve these Article_ID numbers on another page to display back to the user which articles they have selected. So I need to be able to reparse the string without commas.
I have found many posts about arrays but not in ASP code, so any help would be appreciated.
Comment