are you familiar with php? if so perhaps this will help
Code:
//page form gets submitted to after checkbox select
#db connections la la
$customerId = $db['customerId'];
$numItems = count($_POST);
$customerPurchase = array();
for($i=0;$i<=$numItems;$i++)
{
$data = $customerId + " " + $_POST[$i] + ",";
array_push($customerPurchase, $data) ;
}
#php & mysql code to inset $customerPurchase into whatever table la la
I typed this out on the fly without php localhost from friends computer, hope this helps
cheers
grim
newgameprojects.net