Hi I would like to know if there is a way to save a CSV file into a mysql table column using php? Please see that I am not seeking answers for importing/export data to & from table to csv file, I need to save the entire file after exporting from somewhere into a table. say for example:
id date file
1 8/16/2022 abc.csv
2 7/16/2022 xyz.csv
I have everything till the point of data insertion. Just need someone to guide me on how to insert the file into table column using php, am using codeigniter.
file_get_contentsshould allow you to do it.