How to import vertically merge cell #2963
-
|
In my excel file, There is only one cell in Column A, but 5 cells in Column B. However, after importing to database, there is only 1 cell in Column B. I need to import all of 5 cells. image-01 is excel file [image-01] My ControllerMy Imports modelThank you for your help in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Please also show your code |
Beta Was this translation helpful? Give feedback.
-
|
I think it's because of |
Beta Was this translation helpful? Give feedback.
I think it's because of
if ($row[0] == null || $row[0] == '订单编号') { return; }You skip every row that has no first column