Re: Request form duplicate names
| From: | Justin French | Date: | Fri, 19 Dec 2003 12:11:38 +0000 |
| Subject: | Re: Request form duplicate names | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-173007@lists.php.net to get a copy of this message | ||
On Friday, December 19, 2003, at 08:41 PM, Terence wrote:
Is there a way to request form fields which have the same name using POST? I generate dynamic checkboxes all with the same name, but with different values <input type'checkbox' name='id' value'1'> <input type'checkbox' name='id' value'7'> <input type'checkbox' name='id' value'78'>I think you change name='id' to name='id[]' -- but it's been so long since I've done anything with checkboxes that I'm not 100% sure. Test test test.