code now looks like this -
<input type=\"checkbox\" name=\"ProductId[]\" value=\"$ProductId\">$ProductName ($ProductId)</input><br>";
the following in the SQL insert -
$sql = "insert into $table_name values('','$POST[Name]', '$POST[CompanyName]', '$POST[EmailAddress]',
'$POST[ProductId]')";
I have checked the value of $_POST[ProductId] after it posts, value is shown as "ARRAY" - However no actual value is being inserted into the DB, regardless of which checkboxes are selected.
I didn't get this bit of code in your example:
value="$intPHPValueFromDB" - as you can see I have not used it, what does it do? am I supposed to put the actual DB name in? 'FromDB' seems a tad vague.