Skip to content

Instantly share code, notes, and snippets.

Ulises Vázquez Espinoza espinozaulises

Block or report user

Report or block espinozaulises

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@espinozaulises
espinozaulises / csv_to_array.php
Created Sep 20, 2012 — forked from jaywilliams/csv_to_array.php
Convert a comma separated file into an associated array.
View csv_to_array.php
<?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.