Afficher un message
Vieux 15/03/2008, 06h33   #9
John Taylor-Johnston
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [PHP] Re: <input type="checkbox">

Robert,

>>>> Array
>>>> (
>>>> [0] => Hemmingford
>>>> [1] => Huntingdon
>>>> )

> You 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" />


How would you proceed?

$sql ='insert into `database`.`table` (`Nom` ,`checkregion`)
values ('John', '". ?? ."') ';

I'm just guessing.

  Réponse avec citation
 
Page generated in 0,04367 seconds with 9 queries