Soldato
Hi,
I am trying to allow users to enter CSV text or file upload via a web-form which I will then add to a database table using PHP. Can anyone advise the best way to do this?
I think I have a good tutorial to follow for uploading a file using jQuery. I have done some AJAX and get/post forms but not sure how I would do with a big long CSV string?
Also, is it easy enough to parse the CSV in PHP or is there a plugin worth getting? It's not a complicated CSV, just key-value pairs really.
I am trying to allow users to enter CSV text or file upload via a web-form which I will then add to a database table using PHP. Can anyone advise the best way to do this?
I think I have a good tutorial to follow for uploading a file using jQuery. I have done some AJAX and get/post forms but not sure how I would do with a big long CSV string?
Also, is it easy enough to parse the CSV in PHP or is there a plugin worth getting? It's not a complicated CSV, just key-value pairs really.