json
json

Reputation: 9

working with check boxes in kohana 2

I am working with check boxes in php kohana 2. There are multiple check boxes depending on the query result and are displayed in view file.

I can check any of them and save this information in DB. I have this in my POST array that [1] is on, [3] is on but how can i check this that how many of them are checked.

Upvotes: 0

Views: 162

Answers (1)

itspoma
itspoma

Reputation: 896

you can use ko3 default form::checkbox with same id's

Upvotes: 0

Related Questions