I have a calendar that I create dynamically via a php for-loop (each day is a div). On each day there should be the possibility to enter something, like "on holidays" or "away", preferably by way of a checklist. I bascially want a calendar, that shows the entries from a database for each day (that basically works), but also you should be able to say "on the 4th of March I'm out of office" and save that to the database.
I'm struggling with the updating part.
How do I get all of the values from all input fields and update them to the database? What would be the best way? should I wrap all of the inputfields in a form and then go through each form?