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. Quote 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. Quote 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 Quote 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? Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.