acctman Posted November 22, 2010 Share Posted November 22, 2010 Does anyone know of an example for loading a .csv file and importing into mysql via a php file load form? I want to user to be able to select the csv file from there computer and the system import it. Link to comment https://forums.phpfreaks.com/topic/219495-example-for-reading-a-csv-file-and-import-to-mysql/ Share on other sites More sharing options...
fenway Posted November 23, 2010 Share Posted November 23, 2010 There are hundreds of such examples -- but blindly uploading user data without sanitizing and validating it is going to be tricky. Link to comment https://forums.phpfreaks.com/topic/219495-example-for-reading-a-csv-file-and-import-to-mysql/#findComment-1138358 Share on other sites More sharing options...
acctman Posted November 24, 2010 Author Share Posted November 24, 2010 can you point me in the direction of a good example? I know I'll have to match up the csv heard with the database table heard... I just need help with the processing of upload the file and doing the detection Link to comment https://forums.phpfreaks.com/topic/219495-example-for-reading-a-csv-file-and-import-to-mysql/#findComment-1138825 Share on other sites More sharing options...
fenway Posted November 25, 2010 Share Posted November 25, 2010 Don't know of any specifics, but searching this board can't hurt -- anyone else? Link to comment https://forums.phpfreaks.com/topic/219495-example-for-reading-a-csv-file-and-import-to-mysql/#findComment-1139534 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.