wanted to add a column having flag value in my database i.e if flag in db is 1, checkbox should be checked default otherwise unchecked.
Also i wanted to update that column in database on click means if user check the checkbox update db and flag value set to 1 if unchecks, db update and flag value set to 0.
1 Answers
Your Answer