Afficher un message
Vieux 15/03/2008, 05h14   #3
John Taylor-Johnston
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: <input type="checkbox">

$_POST["checkregion"] is supposed to be an array, no?

John Taylor-Johnston wrote:
> 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 EXISTS `GLApplications` (
>> `Name` varchar(200) NOT NULL,
>> set(''Knowlton','Thetford
>> Mines','Clarenceville','Sawyerville','Laval') NOT NULL,
>> `dummy` int(10) NOT NULL auto_increment,
>> PRIMARY KEY (`dummy`)
>> )

>
>

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