![]() |
multiple check boxes
I know how to work with regular forms. Even drop downs. But not when it comes to multiple selections.
In my case, I have 8 check boxes with the name "sizes[]" with different values. When a user checks 1 or more boxes, I want that information to pass on to the next page to get sent in an email. Here's the block of coding I'm using. Code:
<?php $sizes is the name of the 8 check boxes with different sizes. Code:
for ($x = 0; $x < count($sizes); $x++) Andrew, I tried putting $papersize = "$sizes . $x"; but that didn't work. :p I ran into this code which looked simpler but didn't work either. Code:
foreach($sizes as $value) |
All times are GMT. The time now is 06:54 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|