mbrown Posted March 16, 2009 Share Posted March 16, 2009 I was wondering if anyone has created a script that would let the user choose a csv file and upload them to a certain database. I need to do this for a project and i have seen some but they would allow the user to edit the file. I do not want that. I want the admin to be able to edit the files only but I want the user to choose the file and what database. Link to comment https://forums.phpfreaks.com/topic/149641-php-script-upload-csv-file-to-mysql/ Share on other sites More sharing options...
Yammyguy Posted March 16, 2009 Share Posted March 16, 2009 does the CSV file have a header? or is it just values right off the bat? Link to comment https://forums.phpfreaks.com/topic/149641-php-script-upload-csv-file-to-mysql/#findComment-785833 Share on other sites More sharing options...
mbrown Posted March 17, 2009 Author Share Posted March 17, 2009 i can do either. it does not matter. probably will have headers for each column. Link to comment https://forums.phpfreaks.com/topic/149641-php-script-upload-csv-file-to-mysql/#findComment-787028 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.