Discussion
:
<input type="checkbox">
Afficher un message
15/03/2008, 06h16
#
6
John Taylor-Johnston
Messages: n/a
Hébergeur:
Re: [PHP] Re: <input type="checkbox">
Will this do it?
> $sql ='insert into `database`.`table` (`Nom` ,`checkregion`)
> values ('John', '".implode(',', serialise($_POST['checkregion'])."') ';
http://ca.php.net/manual/en/function.serialize.php
> Array
> (
> [0] => Hemmingford
> [1] => Huntingdon
> )
>
>> <input type="checkbox" name="checkregion[]" value="Knowlton" />
>> <input type="checkbox" name="checkregion[]" value="Thetford Mines" />
John Taylor-Johnston
Page generated in
0,04725
seconds with
9
queries