A
Anonymous
Guest
I have a form with textfields for 20 usernames and for each of them 10 checkboxes defining their rights. So I want to have a 2-dimensional array. The first dimension is the username with his rights and the second dimension are the 20 users.
I thought I could name the fields:
name="user[1]['name']"....name="user[20]['name']"
and the checkboxes f.e.
name="user[1]['edit']"...name="user[20]['edit']"
I can't echo them this way. How should I write this code or has anybody a better idea for handling this?
Thanks
miss_marple
I thought I could name the fields:
name="user[1]['name']"....name="user[20]['name']"
and the checkboxes f.e.
name="user[1]['edit']"...name="user[20]['edit']"
I can't echo them this way. How should I write this code or has anybody a better idea for handling this?
Thanks
miss_marple