query insert only one row instead multiple rows
query insert only one row instead multiple rows I was trying to insert multiple values from the excel sheet, I got all data from excel sheet to an array variable. but when I insert it always inserts the 1st row only, I have a method to execute insert query by using PDO, My Data array (size=4) 1 => array (size=5) 'A' => string '*' (length=1) 'B' => string 'Title' (length=5) 'C' => string 'Author' (length=6) 'D' => string 'Publication ' (length=12) 'E' => string 'Container' (length=9) 2 => array (size=5) 'A' => float 1 'B' => string 'Test' (length=4) 'C' => string 'one' (length=3) 'D' => string 'two' (length=3) 'E' => string 'X1' (length=2) 3 => array (size=5) 'A' => float 2 'B' => string ...