Hello,
I am stucked with an idea I want to implement into one of my projects, and I need some help from the best. :)
What I have
In the first image I pull some info from my DB and display that info and also a button do Edit/Remove that Even and a Checkbox that should be checked in case of the Event is finished/done.
In the second image, when the checkbox is checked that div turn green and the button goes away (hidden).
What I want
It's a bit hard to explain, but i'll try my best.
When an user checks that checkbox, It will update the field "done" in the DB of that Event with the value 1.
After this, every time I check these events, they should save their state (if it's done or not). They should keep just like the second image if the field "done" in the DB is 1.
Question
How can I accomplish this? Can someone give me some tips?
Much appreciated.
Regards.