All I need to do is upload the contents of a text file into an array:
product_name|productid|image
Stanton SL1600|123212|http://www.com.com/images/1232.jpg
Stanton SL1601|123211|http://www.com.com/images/1231.jpg
First I need to im port this into a single variable then simply expload it into an array with the header values as the field names.
Then I can loop each row into my database.
I need to do it this way, as I want to check the data before uploading into the db, otherwise I would have used INFILE.
Anyone any ideas on where to start.