thankyou for your reply 🙂
i did get it working by putting them in to seprate rows but i could see a problem.
what would would happen if i had 20, 30 or even 50 tick boxes ?
then it would start to get messy.
for example:
a table for tick boxes
so, can i do this in 1 table:
id - tick box name
1 - name 1
2 - name 2
3 - name 3
etc up to 50
and then another table of users (for example)
and user 1 ticked 20 of the 50 boxes. i would need to create seprate 20 rows for each tick box.
like:
user_id tick boxes selected
1 - tick box1
1 - tick box2
1 - tick box3
1 - tick box4
1 - tick box5
2 - tick box1
2 - tick box2
3 - tick box3
3 - tick box4
3 - tick box5
etc etc etc etc etc etc
so the problem is:
when they press sumit how would it create all those separate tick box rows
i guess when viewing the user you would you use something like
$sql = "SELECT * FROM "tick box table" WHERE id=".$tick_box_id."";