How to validate that a specific ammount of checkboxes are checked in PHP

Posted by vlad on Stack Overflow See other posts from Stack Overflow or by vlad
Published on 2010-05-31T09:45:19Z Indexed on 2010/05/31 9:52 UTC
Read the original article Hit count: 271

Filed under:
|
|

I have to validate that maximum 3 checkboxes are clicked. There are 11. How could I do this efficiently and without testing every possible situation?

© Stack Overflow or respective owner

Related posts about php

Related posts about validation