Re: Re: <input type="checkbox">
| From: | John Taylor-Johnston | Date: | Sat, 15 Mar 2008 04:16:45 +0000 |
| Subject: | Re: Re: <input type="checkbox"> | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-271637@lists.php.net to get a copy of this message | ||
Will this do it?
$sql ='insert intohttp://ca.php.net/manual/en/function.serialize.phpdatabase.table(Nom,checkregion) values ('John', '".implode(',', serialise($_POST['checkregion'])."') ';
Array ([0] => Hemmingford [1] => Huntingdon)<input type="checkbox" name="checkregion[]" value="Knowlton" /> <input type="checkbox" name="checkregion[]" value="Thetford Mines" />