PHP Code Snippets

PHP Snippets tagged as CSV
David Carr

Read all CSV files from a directory.

Read more

David Carr

using array_map to apply ste_getcsv to a CSV file to convert it's contents into an array.

Read more

David Carr

When exporting data to CSV line breaks can cause problems getting the data into the correct columns, removing them is the best course of action.

THis array will remove n and r and commas.

Read more

Copyright © 2011 - 2017 created by David Carr Web Developer. All code MIT license. All rights reserved. Built using Simple MVC Framework