Re: <input type="checkbox">
| From: | John Taylor-Johnston | Date: | Sat, 15 Mar 2008 03:12:14 +0000 |
| Subject: | Re: <input type="checkbox"> | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-271632@lists.php.net to get a copy of this message | ||
http://www.glquebec.org/English/test.php
When I check "Knowlton" and "Thetford Mines" or others, only "Thetford Mines" shows up in phpinfo(). $_POST["checkregion"] only sees "Thetford Mines".
What am I doing wrong? How do I parse value checkregion? Or set this up differently?
<input type="text" name="Name"> <label><input type="checkbox" name="checkregion" value="Knowlton">A</label> <label><input type="checkbox" name="checkregion" value="Thetford Mines">A</label> CREATE TABLE IF NOT EXISTSGLApplications(Namevarchar(200) NOT NULL, set(''Knowlton','Thetford Mines','Clarenceville','Sawyerville','Laval') NOT NULL,dummyint(10) NOT NULL auto_increment, PRIMARY KEY (dummy) )