Here's my problem:
I get a large csv file with 500k+ rows stored on to my server everyday.
I can access these files through filezilla. What I want to do is to use php to get the latest csv file every day and upload it to my database.
I have tried looping through the rows to add them to the database one by one but that was to no avail. I read online and found that LOAD INFILE might be what i am looking for but I don't know how to implement that to load files that are stored on my server.
Also, I don't know how to automate that upload so it runs every day. Thank you