Change header for the import file

From the help file: (see the topic Import Data)
The first row of the file should contain the field names to be imported. The field names MUST match the corresponding field names in the table.

However, in your case, Bishu wrote:
My excel file has a header with the name “Order ID”
but in mysql database the header name is "orderid"So you need to fix $row[“Order ID”] to $row[“orderid”] in Row_Import, e.g. by array_merge() or array_replace() as suggested above.You should not provide your own headers in Page_Importing if your Excel file has headers.