Question:
code to import excel data into mysql using php?
anonymous
1970-01-01 00:00:00 UTC
code to import excel data into mysql using php?
Three answers:
anonymous
2016-04-14 02:53:20 UTC
The easiest way would be to save it from Excel as a csv file, then php can just read the lines and split at the commas. Reading an xls file in php is more complicated.
Monika
2010-05-21 11:33:43 UTC
save your excel data into a file with a option given in excel



then import that file in mysql using wamp or any other server.



gud luck
anonymous
2010-05-21 10:49:30 UTC
Save the Excel data as .csv, then execute



LOAD DATA INFILE 'path/file.csv' INTO TABLE your_table;


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...