Skip to content

Instantly share code, notes, and snippets.

melonlogic melonlogic

  • New Zealand
View GitHub Profile
View csv_to_array.php
* Convert a comma separated file into an associated array.
* The first row should contain the array keys.
* Example:
* @param string $filename Path to the CSV file
* @param string $delimiter The separator used in the file
* @return array
You can’t perform that action at this time.