webguync Posted July 9, 2009 Share Posted July 9, 2009 is it possible to extract data directly from a CSV file and display in an HTML table with PHP or is it best/easiest to import into MySQL and extract the data via that method? Link to comment https://forums.phpfreaks.com/topic/165358-displaying-information-from-a-csv-file-in-html-using-php/ Share on other sites More sharing options...
p2grace Posted July 9, 2009 Share Posted July 9, 2009 It's definitely possible. Look into the fgetcsv() function. http://us3.php.net/manual/en/function.fgetcsv.php I use it all the time and it works like a charm Link to comment https://forums.phpfreaks.com/topic/165358-displaying-information-from-a-csv-file-in-html-using-php/#findComment-872052 Share on other sites More sharing options...
webguync Posted July 9, 2009 Author Share Posted July 9, 2009 I'll give it a try, thanks. Link to comment https://forums.phpfreaks.com/topic/165358-displaying-information-from-a-csv-file-in-html-using-php/#findComment-872055 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.