Forums

ASP

This topic is locked

Check box to database

Posted 09 Jul 2003 13:34:17
1
has voted
09 Jul 2003 13:34:17 Jamie Ellwood posted:
Hi, I have a question and if anyone could point me in the right direction, I would be most grateful.

I have a database which displays a list of items and each item has a checkbox next to it. I also have a members database with a column for "items selected". How can I program the ASP to let a member select items from the list (by checking the boxes), and once the selection has been made, it is saved in the "items selected" column in the members database. When the user returns to the site, they are presented with the items that they have checked.
I imagine this can be done with writing the unique id of the items checked to the "selected items" column in the database, but how can multiple unique numbers be stored in one field (eg. 1,3,12,6 etc.)?

Any help would be most appreciated.

Thanks, Jamie

Reply to this topic