Import CSV ke 2 table menggunakan csv

 

saya ada 2 tabel

tabel customer dan tabel order.

ingin 1 kali proses import tp masuk ke 2 tabel tersebut.

contoh ada data ABCDEFGH, ingin dimasukan seperti ini

tabel customer = ABC

tabel order = ADEFGH

nanti saya kasih, database nya

PHP CodeIgniter

Published Budget: Open to Suggestions
Finish Days: 7
Published Date: 11/02/2020 11:32:29 WIB
Start Date: 11/02/2020 16:23:35 WIB
Finish Date: 11/02/2020 23:04:15 WIB
Project Status: Closed
Accepted Worker: anlichandra (anlichandra)
Accepted Budget: Rp 50,000
Project Ending: Completed

Project Owner

superhero
Kota Bekasi
    
10.00/10.00
7 Point
#8,338 dari 254,211
Rated Worker: 10.00/10.00

keren, kerjanya cepat dan komunikatif

Accepted Worker

anlichandra
    
9.66/10.00
4,501 Point
#37 dari 254,211
Rated Owner: 10.00/10.00

Auto-rated by system.

  User Bids

whatnowangga
    
9.90/10.00

amienragiel
    
10.00/10.00

m.anto
    
9.98/10.00

cendrawadisman
    
9.81/10.00

enjangrk
    
9.67/10.00

FahmiBasya
    
9.92/10.00

almibi
    
10.00/10.00

rio.pahlevy
    
10.00/10.00

aldoadhi
    
9.94/10.00

jajang.umara
    
9.79/10.00

fred_lim
    
9.97/10.00

miftahulkhoir72
    
10.00/10.00

balonns
    
10.00/10.00

anlichandra
    
9.66/10.00

AgungD
    
9.45/10.00

Cindygeraldine
    
7.00/10.00

Frenproject
    
0.00/10.00

upxrobot
    
0.00/10.00

Recommended Workers

Iswanto

22,914 points
493 projects
    
9.74/10.00

steven.comptia

39,255 points
862 projects
    
9.97/10.00

Muhammad.Rahman

13,675 points
157 projects
    
9.84/10.00

imzers

12,839 points
63 projects
    
9.89/10.00

manakreatif

10,532 points
82 projects
    
9.76/10.00

Recommended Services

Pembuatan bot line

Rp 1,500,000
6 sales
    
10.00/10.00

Whatsapp API (unofficial)

Rp 1,200,000
5 sales
    
10.00/10.00

Jasa Pembuatan Website Dengan Wordpress + Divi

Rp 700,000
7 sales
    
10.00/10.00

Open Projects

Dibutuhkan cepat slicing design ke HTML

Rp - 0Owner: zanmatho
Deadline: 7 days

Web Jualan Beras Sistem MLM

Rp - 0Owner: Yecepe
Deadline: 7 days

Integrasi Amazon S3

Rp - 0Owner: zanmatho
Deadline: 10 days

web galeri produk sederhana

Rp - 0Owner: bs000007
Deadline: 7 days

DIBUTUHKAN ORANG YANG MAHIR PHP

Rp - 0Owner: MZainal
Deadline: 2 days