Hi all,
hopefully im going to be able to give a clear explanation here, one of the problems is that Im not totally sure what I can actually achieve!
Im trying to make a user registration form which looks up from a mysql database a list of usergroups and lists them with tick boxes on the registration form. I can do that part, the bit im stumbling at is then getting the code that processes the form to take all the values and create usergroup records accordingly when the values are dynamically generated.
make enough sense?? an example -
3 groups, admin, teacher, tutor. the form checks this list and creates tick boxes for each of them on the form under the standard details such as username and password. when submitted the called page then takes the standard info and creates a new user record from it then creates a usergroup record for each tickbox thats ticked. its the last bit I cant seem to do, because since the number of tickboxes may vary I dont know how to check them all??
thanks
Luke