And it appears $_POST data contains ALL checkboxes, checked or not.
The check ones return the value for that input and unchecked return 0
(false).

On May 5, 10:02 am, cougarman <[email protected]> wrote:
> I have a large group of checkboxes.  When the page loads, I need each
> checkbox with a "value" that is contained in a certain array of
> numbers to be checked.  Is this possible?  It seems that $_POST will
> not work to put the values of all my checkboxes in an array, because
> $_POST will only return values of checkboxes that are already checked.
>
> Many thanks,
>
> C

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to