Re: checkbox question
| From: | B.C. Lance | Date: | Tue, 10 Sep 2002 12:50:38 +0000 |
| Subject: | Re: checkbox question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-115844@lists.php.net to get a copy of this message | ||
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