我有这样的简单形式:
<>光度>:
<input type="checkbox" name="product[]" value="20$" /> book
<input type="checkbox" name="product[]" value="30$" /> plane
http://www.un.org/spanish/ecosoc
$product = $_POST[ product ];
foreach($product as $value) {
echo $value;
}
Note:
The user can choose one or two ... products.
Question:
I want to know if there is a solution to get the name
too, like adding an ID class or something ..