if you can't use [] for the checkbox, the only way out is to have unique 
name for each checkbox.

otherwise, php will always be returning the value of the last checked 
checkbox if all checkboxes share the same name without the [].

--lance

Alex Shi wrote:
> How to ontain data from a group of checkbox using same name?
> For example, in a form there're 6 checkboxes and all named as
> "Interesting_Area". I know if put a pairs of square brackets at the
> end of the name then in php all the values of them can be ontained.
> However, for some reason I cannot use square brackets. Please
> help me out if anyone know how to do the trick. THanks!
> 
> Alex
> 
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to