Form CheckBox question
| From: | Yves Arsenault | Date: | Thu, 18 Sep 2003 16:15:27 +0000 |
| Subject: | Form CheckBox question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-163025@lists.php.net to get a copy of this message | ||
Hello,
I have this in my form.... the checkUnCheck(this); will uncheck values 1,2,3
if None is chosen... Now when I submit this form, the output I get from
$Avail is the word Array and not the actual content.... ('1,2,3' if I choose
1,2,3)
<td>
<input type="Checkbox" name="Avail[]" value="1"
onclick="checkUnCheck(this);">1
<input type="Checkbox" name="Avail[]" value="2"
onclick="checkUnCheck(this);">2
<input type="Checkbox" name="Avail[]" value="2"
onclick="checkUnCheck(this);">3
<input type="Checkbox" name="Avail[]" value=""
onclick="checkUnCheck(this);">None
</td>
Am I missing something??
And no, I'm not a very experienced PHP developer.
:-)
Yves Arsenault
Carrefour Infotech
5,promenade Acadian
Charlottetown, IPE
C1C 1M2
yves@carrefour.peicaps.org
(902)368-1895 ext.242
ICQ #117650823