ainoy31 Posted September 5, 2007 Share Posted September 5, 2007 Hello- I am able to upload and validate that the file is a .csv extension fine. My issue is to validate the content of the csv file before I insert the data into the DB. Can someone point me in the right direction? I have searched the web and did not find what I need. Much appreciation. Link to comment https://forums.phpfreaks.com/topic/68100-csv-file-content-validation/ Share on other sites More sharing options...
syntaxerror Posted September 5, 2007 Share Posted September 5, 2007 I suppose this would be db design dependent... So through some string manipulation, you will have to do a custom verification/validation of your fields. so you'd probably start with fgetcsv... Link to comment https://forums.phpfreaks.com/topic/68100-csv-file-content-validation/#findComment-342509 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.