Is there a way to insert data from a file into mysql database in codeigniter? I am currently stuck in this part. help please. I have searched in the net but I could not understand it and i really don't know how to start this function.
Asked
Active
Viewed 1,025 times
-1
-
You haven't mentioned the format the file is in. If it's just SQL or a CSV file, then that's quite easy to do using MySQL from the shell. Or if you have PHPMyAdmin installed, that can generally handle those formats too. – Matthew Daly Aug 19 '14 at 14:36
1 Answers
0
I don't think CodeIgniter offers support for this. However there is a general solution here: How to import data from text file to mysql database

Community
- 1
- 1

rahulmishra
- 620
- 1
- 13
- 29