When inserting a new product, only the prod table is changed.
Two other tables, prodtype and prodsize, should change based on checkbox selections. Both these tables use foreign keys.
Also, when the pencil is clicked, several products (including newly added ones) don't have values in any of the fields.