ukweb Posted October 23, 2007 Share Posted October 23, 2007 Hi, A client has requested that I make a php app which takes an uploaded image, reads the values and enters them into a database. I've made the upload script which works fine, and the script which enters the values into the database, the only thing left now is how do I make PHP read the file and extract the values? The file is a text file, each field comma separated. ANY help or a suggestion on the function to use would be very helpful! Many thanks Stephen x Link to comment https://forums.phpfreaks.com/topic/74432-solved-comma-separated-text-files-help/ Share on other sites More sharing options...
Barand Posted October 23, 2007 Share Posted October 23, 2007 www.php.net/fgetcsv Link to comment https://forums.phpfreaks.com/topic/74432-solved-comma-separated-text-files-help/#findComment-376040 Share on other sites More sharing options...
ukweb Posted October 23, 2007 Author Share Posted October 23, 2007 nice one thanks! Link to comment https://forums.phpfreaks.com/topic/74432-solved-comma-separated-text-files-help/#findComment-376056 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.