vendredi 9 janvier 2015

Update Database from single inputs and with multiple checkbox select form

Is it possible to update a database using a form that has multiple single inputs and then a multi checkbox select from the same form?


I have a form where the client selects his: a. location; b. the date he wants to transfer employees; c. CHECKBOX group with multiple employees (from which he selects one or more employees); d. the reason for the transfer.


Now, using the above info, a. b. and d. must be written into the database for each c. selected


If I choose only one employee, the data writes into the database correctly, my problem is when more than one is selected.


I will give code if needed, but if this is possible, there should be a standard way of doing this.





Aucun commentaire:

Enregistrer un commentaire