how to import data from excel to mysql using php

how to import data from excel to mysql using php

webeasystep

6 лет назад

38,005 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@글쓰는개발자
@글쓰는개발자 - 10.06.2018 17:24

Thanks~~ I tried many times to work with this code. Finally it works!
Tested in
PHP 5.6.36 Bitnami APM

Ответить
@faridariamaulana2670
@faridariamaulana2670 - 28.07.2018 17:39

can i install without composer?

Ответить
@anoundhim4393
@anoundhim4393 - 26.08.2018 03:46

hey can yo make it on codeigniter??
i try to get read when i upload file but not workiing

Ответить
@plamenvladimirov3121
@plamenvladimirov3121 - 14.09.2018 10:28

Good job! Very clear!

Ответить
@ASK2GURUJI
@ASK2GURUJI - 07.10.2018 18:32

give source code

Ответить
@andistheinforitbutso7513
@andistheinforitbutso7513 - 19.04.2019 08:37

Pls Help! Error in
line 39: $xx= "'" . implode( glue: "','", $sheetData[$row]) . "'" ;


error message: Parse error: syntax error, unexpected ':', expecting ',' or ')' in C:\xampp\htdocs\demo\samples\Reader\05_Simple_file_reader_using_the_read_data_only_option.php on line 39

Ответить
@dashbyictfd
@dashbyictfd - 06.06.2019 09:08

I have an Excel spreadsheet that has various data types including start dates, using this method will it import the dates from Excel in the correct format?

Thanks

Ответить
@iamzero0000
@iamzero0000 - 19.06.2019 07:37

I have got a problem that 'Column count doesn't match value count at row 1'
but my sql statement is start from row 3. What's happen to it?

Ответить
@yudadesela4781
@yudadesela4781 - 23.06.2019 17:32

too many ads

Ответить
@barbarazavaleta5264
@barbarazavaleta5264 - 27.06.2019 16:50

Your tutorial would have been the best if you first select the file from input and then work with it, but anyway it's OK, thanks for it

Ответить
@computadorhumano949
@computadorhumano949 - 12.09.2019 00:23

very good

Ответить
@bagasnuralim7679
@bagasnuralim7679 - 29.07.2020 08:25

how to use date with this case

Ответить