Marvellous - thanks a million.
I wonder if you can help with another very similar query?
I have created an array of values and outputted them to checkboxes, once I've submitted the form it only sends the last checked value to the db. I've read quite a few other posts and tried to adapt code, but seem to still pass the last value checked.
Can you help? If so the code goes something like this:
$exp_plans[1] = "Joint Venture";
$exp_plans[2] = "Acquisition";
$exp_plans[3] = "Warehouse Distribution Centre";
$exp_plans[4] = "Office";
$exp_plans[5] = "Alliance";
$exp_plans[6] = "Plant/Assembly";
$exp_plans[7] = "Other";
for ($counter=1; $counter<7; $counter++)
{
echo"<INPUT TYPE=Checkbox NAME='exp_plans' VALUE='$exp_plans[$counter]'>$exp_plans[$counter]<BR>";
}
Please help if you can as I've been working on it for the last two hours and I've not got much hair left...
Lulubell
๐