Hi Everyone,
Ive got a system set up to transfer data to a database. In my admin area, I have a textbox into which I copy and paste the contents of a "|" deliminated CSV file.
"|" seperates each field, and a return "\n" each line is a new row.
The next page takes the information, and puts the data into the database, each row at a time, and each field in each row, and goes through the whole text until all the records are in the database.
But Ive come across a problem that what the file is too big (when I say file, I mean the text ive copy and pasted into the textbox from the file) when this is too big (sometimes 24mg) it takes forever, then just doesn't add any of the records into the database.
Is there a better way to do this?
Is there anyway of uploading the CSV file and use PHP to read the file?
Thanks