nitai panda

nitai panda

  • 2k
  • 13
  • 2.3k

upload csv file with mapping

Jun 25 2015 7:36 AM
i want to upload a csv file but have a one problem in database table have 5 columns but csv file have 3 columns in database table in have column name 1>name 2>address 3>phn 4>email 5>age or csv file have 3 columns likes 1>address 2>phn 3>name how can i insert data proper position to this table please solve this problem. at first show upload page where i browse and select csv file after then click button upload after show import page where mapping csv header with database table column header after then finaly click button import and csv data import insert at database table won won proper position.ok please solve it and give me code,

Answers (1)