Add a column of checbox

QuestionsAdd a column of checbox
Sameer asked 9 years ago

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
Abu Ghufran answered 9 years ago

Refer demos/misc/example-all.php and check options of $col["title"] = "Closed".

Your Answer

4 + 9 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?