Re: Re: <input type="checkbox">
| From: | John Taylor-Johnston | Date: | Sat, 15 Mar 2008 04:33:56 +0000 |
| Subject: | Re: Re: <input type="checkbox"> | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.general php.general |
| Request: | Send a blank email to php-general+get-271641@lists.php.net to get a copy of this message | ||
Robert,
How would you proceed? $sql ='insert intoYou want the following (otherwise each checked entry overwrites the previous): <input type="checkbox" name="checkregion[]" value="Knowlton" /> <input type="checkbox" name="checkregion[]" value="Thetford Mines" />Array ([0] => Hemmingford [1] => Huntingdon)
database.table (Nom ,checkregion)
values ('John', '". ?? ."') ';
I'm just guessing.