Jump to content

PHP counting checked checkboxes arrays


crackpanda

Recommended Posts

Hello, i have a series of check boxes with the same name="" tag (example[]), and i want to count how many of these check boxes have been selected. Can anyone help me construct such a loop in a very simple/clean way?

 

I want to see if more than 2 check boxes have been selected.

Link to comment
https://forums.phpfreaks.com/topic/149210-php-counting-checked-checkboxes-arrays/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.