I have 2 arrays (as an example but I've 8) to insert the record to MySQL database. But I'm confused about how to insert them. Please guide me about.
$bunit = $_POST['bunit'];
$prodID = $_POST['productID'];
$section = $_POST['section'];
$remarks = array();
$remarksType = array();
INSERT INTO `remarks` (`remarks_id`, `remarks`,`bunit`, `prodID`, `remarks_section_ID`, `remarks_type`, `remarks_defectID`, `remarks_productID`, `remarks_active`) VALUES (NULL, '$remarks', '$bunit', '$prodID', '$section', '$remarksType', '1', '2', 1);"